Metadata-Version: 2.0
Name: dagging
Version: 0.2.2
Summary: Python package implementing the dagging method
Home-page: https://github.com/chkoar/dagging
Author: Christos Aridas
Author-email: ichkoar@gmail.com
License: BSD (3-clause)
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: scikit-learn

===============================
Dagging
===============================

.. image:: https://img.shields.io/travis/chkoar/dagging.svg
        :target: https://travis-ci.org/chkoar/dagging

.. image:: https://codecov.io/gh/chkoar/dagging/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/chkoar/dagging

.. image:: https://img.shields.io/pypi/v/dagging.svg
        :target: https://pypi.python.org/pypi/dagging


Python package implementing the dagging method

* Free software: 3-clause BSD license

Example
-------

.. code-block:: python

    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


