Python package implementing the dagging method
Free software: 3-clause BSD license
Example
from dagging import DaggingClassifier
from sklearn.datasets import load_iris
# Load Iris from from scikit-learn.
X, y = load_iris(True)
model = DaggingClassifier(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
numpy
scikit-learn
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 dagging pip install .
Or install using pip and GitHub:
pip install -U git+https://github.com/chkoar/dagging.git
Release files for dagging 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dagging-0.2.2.tar.gz | 26.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dagging-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.1 kB
Release files / dagging-0.2.2.tar.gz
| Download URL | dagging-0.2.2.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29ca7f70eb9402f85770b0199b931ad306d4816751f4245d4cd21810ed196c7d
|
|
BLAKE2b-256 checksum How to use checksums |
a7c0213af4233f5f596d7626a1ecef4588701196b740a72d45fce2debf66e763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3
|
Release files / dagging-0.2.2-py3-none-any.whl
| Download URL | dagging-0.2.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cebcd7e483d8ac90c5211cfb74709e662d768101971d5ab6f8626c24b60ce06b
|
|
BLAKE2b-256 checksum How to use checksums |
ca7621b5d7401bb7a1dffc726c7a40a12ded78e2b20cdbd98395b0bf7ded86e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3
|