Skip to content

Commit

Permalink
ARFF-cutoff.
Browse files Browse the repository at this point in the history
  • Loading branch information
xehivs committed Oct 4, 2019
1 parent b1c0d74 commit 00f3795
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 76 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ pip install stream-learn
## Example usage

```python
import strlearn
from sklearn import neural_network

clf = neural_network.MLPClassifier()
X, y = strlearn.utils.load_arff('toyset.arff')
learner = strlearn.Learner(X, y, clf)
learner.run()
WRONG
```

<!--
Expand Down
1 change: 0 additions & 1 deletion ci_scripts/travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ run_tests(){
# Get into a temp directory to run test from the installed scikit learn and
# check if we do not leave artifacts
mkdir -p $TEST_DIR
cp *.arff $TEST_DIR/``

# We need the setup.cfg for the nose settings
cp setup.cfg $TEST_DIR
Expand Down
49 changes: 0 additions & 49 deletions examples/basic_learning.py

This file was deleted.

40 changes: 21 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,30 @@
from setuptools import find_packages, setup

# get __version__ from _version.py
ver_file = os.path.join('strlearn', '_version.py')
ver_file = os.path.join("strlearn", "_version.py")
with open(ver_file) as f:
exec(f.read())

DISTNAME = 'stream-learn'
DESCRIPTION = 'Python package equipped with a procedures to process data streams using estimators with API compatible with scikit-learn.'
MAINTAINER = 'P. Ksieniewicz'
MAINTAINER_EMAIL = 'pawel.ksieniewicz@pwr.edu.pl'
URL = 'https://github.com/w4k2/stream-learn'
LICENSE = 'MIT'
DOWNLOAD_URL = 'https://github.com/w4k2/stream-learn'
DISTNAME = "stream-learn"
DESCRIPTION = "Python package equipped with a procedures to process data streams using estimators with API compatible with scikit-learn."
MAINTAINER = "P. Ksieniewicz"
MAINTAINER_EMAIL = "pawel.ksieniewicz@pwr.edu.pl"
URL = "https://github.com/w4k2/stream-learn"
LICENSE = "MIT"
DOWNLOAD_URL = "https://github.com/w4k2/stream-learn"
VERSION = __version__
INSTALL_REQUIRES = ['numpy', 'scipy', 'scikit-learn', 'liac-arff','scikit-learn','tqdm','future']
INSTALL_REQUIRES = ["numpy", "scipy", "scikit-learn", "scikit-learn", "tqdm", "future"]


setup(name=DISTNAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
packages=find_packages(),
install_requires=INSTALL_REQUIRES)
setup(
name=DISTNAME,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
)

0 comments on commit 00f3795

Please sign in to comment.