-
Notifications
You must be signed in to change notification settings - Fork 1
2. Installing leADS
Run the following commands to clone the repository to an appropriate location:
git clone https://github.com/hallamlab/leADS.git
Note: If you are on a Linux or macOS machine use terminal
and if you are on Windows use git bash
, to run the command.
For all experiments, using a terminal
(On Linux and macOS) or an Anaconda command prompt
(On Windows), navigate to the src/
folder to run the commands of your choice. For example, to display leADS' running options use: python main.py --help
. It should be self-contained.
The codebase is tested to work on Linux and Windows 10 under Python 3.8. Python 2.x isn't supported and will never be. Sorry for the inconvenience. To download and install python 3, use the documentation provided here.
Installing leADS by cloning the development version from GitHub will require you to install dependencies that you do not already have preinstalled. Additionally, leADS works well on a local system with 4GB RAM and a minimum storage space of ~2.5 GB for test files.
If you do not have the dependencies for leADS installed on your computer, we've listed how to download and install each one below.The required packages include:
- Anaconda
- NumPy (Version: >= 1.15)
- scikit-learn (Version: >= 0.20)
- pandas (Version: >= 0.23)
- scipy(Version: ==1.2)
- NetworkX (>= 2.2)
To install the dependencies run the following command:
pip install -r requirements.txt