py-ecomplexity
py-ecomplexity copied to clipboard
Python package to compute economic complexity and associated variables
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...
If columns called "mcp" or "eci" or whatever already exist and the column label dict is provided like this {"time": "year","loc": "exporter","prod": "commodity_code","val": "mcp",}, then there's a conflict and the...
Bumps [scikit-learn](https://github.com/scikit-learn/scikit-learn) from 1.2.0 to 1.5.0. Release notes Sourced from scikit-learn's releases. Scikit-learn 1.5.0 We're happy to announce the 1.5.0 release. You can read the release highlights under https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_5_0.html and...
this is for the atlas cleaning process. The original stata code uses the non normalized pci value (kp1d). The atlas cleaning first calculates complexity values from a set of more...
I wasn't using this piece of code before and just find that calc_proximity.py creates a proximity matrix with diagonal 1, which was used in following calculations of density/coi/cog/etc. In density...