Installation¶
Prerequisites¶
The geometric-smote package requires the following dependencies:
- numpy (>=1.11)
- scipy (>=0.17)
- scikit-learn (>=0.21)
- imbalanced-learn (>=0.4.3)
Install¶
geometric-smote is currently available on the PyPi’s reporitories and you can install it via pip:
pip install -U geometric-smote
The package is released also in Anaconda Cloud platform:
conda install -c algowit geometric-smote
If you prefer, you can clone it and run the setup.py file. Use the following commands to get a copy from Github and install all dependencies:
git clone https://github.com/AlgoWit/geometric-smote.git
cd geometric-smote
pip install .
Or install using pip and GitHub:
pip install -U git+https://github.com/AlgoWit/geometric-smote.git