Python package implementing the dagging method
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dagging-0.2.2.tar.gz.
File metadata
- Download URL: dagging-0.2.2.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ca7f70eb9402f85770b0199b931ad306d4816751f4245d4cd21810ed196c7d
|
|
| MD5 |
5b7d9a8a47af6dc022c91030b7db3c06
|
|
| BLAKE2b-256 |
a7c0213af4233f5f596d7626a1ecef4588701196b740a72d45fce2debf66e763
|
File details
Details for the file dagging-0.2.2-py3-none-any.whl.
File metadata
- Download URL: dagging-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cebcd7e483d8ac90c5211cfb74709e662d768101971d5ab6f8626c24b60ce06b
|
|
| MD5 |
c44427023d0cc3e385d0ed0294f89020
|
|
| BLAKE2b-256 |
ca7621b5d7401bb7a1dffc726c7a40a12ded78e2b20cdbd98395b0bf7ded86e7
|