Skip to content

Commit

Permalink
attempt to fix issue of Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 committed Oct 27, 2023
1 parent af87503 commit 0a63ba6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 3 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ v<0.0.6>, <01/14/2021> -- Fix n_jobs issue and code refactor.
v<0.0.6>, <01/14/2021> -- Add model save and load functionality.
v<0.0.7>, <08/29/2021> -- Update to be integrated in PyOD.
v<0.0.7>, <08/29/2021> -- Documentation and test improvement.
v<0.0.8>, <10/01/2021> -- Urgent update for scikit-learnin 1.0.
v<0.0.9>, <07/16/2023> -- Urgent update for scikit-learnin 1.3.
v<0.0.8>, <10/01/2021> -- Urgent update for scikit-learn 1.0.
v<0.0.9>, <07/16/2023> -- Urgent update for scikit-learn 1.3.
v<0.1.0>, <10/26/2023> -- Fix the issue for python 3.7.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readme():
long_description=readme(),
long_description_content_type='text/x-rst',
author='Yue Zhao',
author_email='zhaoy@cmu.edu',
author_email='yzhao062@gmail.com',
url='https://github.com/yzhao062/suod',
download_url='https://github.com/yzhao062/suod/archive/master.zip',
keywords=['ensemble learning', 'anomaly detection', 'outlier ensembles',
Expand All @@ -40,7 +40,7 @@ def readme():
install_requires=requirements,
setup_requires=['setuptools>=38.6.0'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
Expand Down
4 changes: 1 addition & 3 deletions suod/test/test_model_save_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import unittest

import numpy as np

# temporary solution for relative imports in case pyod is not installed
# if suod
# is installed, no need to use the following line
Expand All @@ -19,7 +17,7 @@
from pyod.models.lscp import LSCP
from joblib import dump, load

from ..utils.utility import _get_sklearn_version
from suod.utils.utility import _get_sklearn_version


class TestModelSaveLoad(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion suod/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#
__version__ = '0.0.9' # pragma: no cover
__version__ = '0.1.0' # pragma: no cover

0 comments on commit 0a63ba6

Please sign in to comment.