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

RPOP - Handling zeros in diversity / ubiquity #22

Open
shreyasgm opened this issue Oct 1, 2021 · 2 comments
Open

RPOP - Handling zeros in diversity / ubiquity #22

shreyasgm opened this issue Oct 1, 2021 · 2 comments

Comments

@shreyasgm
Copy link
Member

Diversity / ubiquity is often 0 when calculating with RPOP. Need better handling of these cases, since ECI / PCI show up as NaN for all countries in these cases (the eigenvectors are returned as NaN's).

@fedemoscatelli
Copy link

fedemoscatelli commented Mar 16, 2023

Just ran into this issue when testing rpop. How can I work around it?

@shreyasgm
Copy link
Member Author

Simple workaround for now - run ecomplexity once, then filter for diversity and ubiquity > 0 and then run again. Merge the dropped countries and products back in so you don't lose any data.

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