Installation¶
Prerequisites¶
The cluster-over-sampling package requires the following dependencies:
- numpy (>=1.11)
- scipy (>=0.17)
- scikit-learn (>=0.21)
- imbalanced-learn (>=0.4.3)
Install¶
cluster-over-sampling is currently available on the PyPi’s repositories and you can install it via pip:
pip install -U cluster-over-sampling
The package is released also in Anaconda Cloud platform:
conda install -c algowit cluster-over-sampling
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/cluster-over-sampling.git
cd cluster-over-sampling
pip install .
Or install using pip and GitHub:
pip install -U git+https://github.com/AlgoWit/cluster-over-sampling.git