Skip to content

Commit

Permalink
temporary fix to requirements due to shap imports changing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreFCruz committed Sep 10, 2024
1 parent 218f2ba commit 7ac1d53
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion requirements/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ scikit-learn>=0.23.2
seaborn>=0.11.1
matplotlib>=3.3.2
numpy>=1.19.2
shap>=0.37.0
shap>=0.37.0,<=0.42.1
scipy>=1.5.2
plotly>=4.6
seaborn>=0.11.2
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@ def stream_requirements(fd):
version=__version__,
description="KernelSHAP adaptation for recurrent models.",
keywords=['explainability', 'TimeShap'],

long_description=(README_PATH).read_text(),
long_description_content_type="text/markdown",

author="Feedzai",
url="https://github.com/feedzai/timeshap",

package_dir={'': 'src'},
packages=find_packages('src', exclude=['tests', 'tests.*']),
package_data={
'': ['*.yaml, *.yml'],
},
include_package_data=True,

python_requires='>=3.6',

install_requires=requirements,

zip_safe=False,

test_suite='tests',
tests_require=requirements_test,
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
],
)
3 changes: 1 addition & 2 deletions src/timeshap/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"""File to keep the package version in one place"""
__version__ = "1.0.4"
__version__ = "1.1"
__version_info__ = tuple(__version__.split("."))

0 comments on commit 7ac1d53

Please sign in to comment.