Python package implementing the dagging method
Project description
Python package implementing the dagging method
Free software: 3-clause BSD license
Example
from dagging import Dagging
from sklearn.datasets import load_iris
# Load Iris from from scikit-learn.
X, y = load_iris(True)
model = Dagging(n_estimators=50,
voting='hard',
random_state=0)
# Train the model.
model.fit(X,y)
# Accuracy
print(model.score(X, y))
Dependencies
The dependency requirements are based on the last scikit-learn release:
scipy(>=0.13.3)
numpy(>=1.8.2)
scikit-learn(>=0.20)
Installation
dagging is currently available on the PyPi’s repository and you can install it via pip:
pip install -U dagging
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/chkoar/dagging.git cd imbalanced-learn pip install .
Or install using pip and GitHub:
pip install -U git+https://github.com/chkoar/dagging.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dagging-0.1.0.tar.gz
(26.3 kB
view hashes)