Skip to content

marfiori/efficient-ASE

Repository files navigation

efficient-ASE

Embeddings for the UN General Assembly Voting Data

Gradient-based ASE implementation, as proposed in "Gradient-Based Spectral Embeddings of Random Dot Product Graphs" (M. Fiori, B. Marenco, F. Larroca, P. Bermolen and G. Mateos, working draft)

Installation

IMPORTANT: current implementation is only supported for Python 3.8.

Clone repository and install dependencies using requirements file:

pip install -r requirements.txt

Install the following fork of Pymanopt in order to use the manifold of matrices with orthogonal columns:

pip install git+https://github.com/marfiori/pymanopt

Try it

Run the UN general assembly votes example:

python un_votes.py path_to_UN_data_file

where path_to_UN_data_file is your local path to the UN General Assembly Voting Data file. If it does not exist, it will be downloaded to that path.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages