poincare-embedding
Poincaré Embedding (unofficial)
File Explorer
Download Latest Version (.zip)- poincare_embedding.hpp
- mammal.png
- create_mammal_subtree.py
- create_wordnet_noun_hierarchy.py
- plot_mammal_subtree.py
- plot_tree.py
- rank_norm.py
- poincare_embedding.cpp
- .gitignore
- CMakeLists.txt
- LICENSE
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/TatsuyaShirakawa/poincare-embedding
Downloads the entire project code from GitHub to your computer.
cd poincare-embedding
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
- for Windows user, using cygwin is recommended (with CMAKE and gcc/g++ selection) (thanks @patrickgitacc)
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
python3 -m venv venv
Runs the Python script (or module).
python3 -m pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
