From 4d56dfe3ba7548ecf81c3e5d7eae2d99a7b9745f Mon Sep 17 00:00:00 2001 From: erdogant Date: Mon, 8 May 2023 19:31:48 +0200 Subject: [PATCH] 0.2.1 --- classeval/__init__.py | 2 +- classeval/examples.py | 2 ++ requirements-dev.txt | 11 +++++++++-- requirements.txt | 7 +++++++ setup.py | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/classeval/__init__.py b/classeval/__init__.py index 46d4939..916ef32 100644 --- a/classeval/__init__.py +++ b/classeval/__init__.py @@ -16,7 +16,7 @@ __author__ = 'Erdogan Tasksen' __email__ = 'erdogant@gmail.com' -__version__ = '0.2.0' +__version__ = '0.2.1' # module level doc-string __doc__ = """ diff --git a/classeval/examples.py b/classeval/examples.py index 96be0f9..709e2d1 100644 --- a/classeval/examples.py +++ b/classeval/examples.py @@ -11,6 +11,7 @@ # %% cross validation example +import classeval as clf X, y = clf.load_example('breast') out = {} for i in range(0,10): @@ -26,6 +27,7 @@ # %% Two-class +import classeval as clf X, y = clf.load_example('breast') X_train, X_test, y_train, y_true = train_test_split(X, y, test_size=0.2) diff --git a/requirements-dev.txt b/requirements-dev.txt index 82498a8..91a88b3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,10 @@ +numpy sphinx_rtd_theme -# rst2pdf - +rst2pdf +#spyder-kernels==2.4.* +sphinx +pytest +#git+https://github.com/SuperKogito/sphinxcontrib-pdfembed.git +irelease +sphinxcontrib-fulltoc +#nbconvert # jupyter nbconvert --to html notebook.ipynb diff --git a/requirements.txt b/requirements.txt index e69de29..b001bda 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,7 @@ +matplotlib +numpy +funcsigs +sklearn +colourmap +scikit-learn +pandas \ No newline at end of file diff --git a/setup.py b/setup.py index 684f725..7035785 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( - install_requires=['matplotlib','numpy','funcsigs','sklearn','colourmap'], + install_requires=['matplotlib','numpy','funcsigs','sklearn','colourmap','scikit-learn','pandas'], python_requires='>=3', name='classeval', version=new_version,