Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for BiECM? #34

Open
deklanw opened this issue Feb 27, 2021 · 3 comments
Open

Plans for BiECM? #34

deklanw opened this issue Feb 27, 2021 · 3 comments

Comments

@deklanw
Copy link

deklanw commented Feb 27, 2021

Any plans to include the bipartite enhanced configuration model?

I know that the DECM can be applied to this case, technically. But, with the BiECM, there are only two variables associated with each node, allowing reduction in unique (degree, strength) pairs.

Thanks!

@mat701
Copy link
Collaborator

mat701 commented Mar 5, 2021

We're currently not planning on introducing BiECM, but we could in the future as more models will follow. You're correct: in the case of a bipartite directed (one directional) enhanced configuration model, the reduction is possible. Feel free to fork the project and suggest an implementation!

@deklanw
Copy link
Author

deklanw commented Mar 5, 2021

Thanks for the response. I went ahead and implemented it in my own library. Honestly, implementing it here seems a bit intimidating looking at the 5k+ line models_functions.py file.

@mat701
Copy link
Collaborator

mat701 commented Mar 5, 2021

We didn't implement it since we never actually needed a BiECM, and also weighted models do not actually benefit so much from the reduction, unless you have integer strengths and weights and a power law distribution for both weights and degrees.

By the way, in models functions all functions are independent of each other, so you could add stuff there and create a new weighted/directed bipartite class, but as you prefer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants