Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: partial_dependence returns grid_values #73

Merged
merged 3 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orangecontrib/explain/inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def dummy_fit(*_, **__):
if data.domain.has_discrete_class and \
len(data.domain.class_var.values) == 2:
results = {"average": np.vstack([1 - dep["average"], dep["average"]]),
"values": dep["values"][0]}
"values": dep["grid_values"][0]}
if kind == "both":
results["individual"] = \
np.vstack([1 - dep["individual"], dep["individual"]])
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
# issues with numpy - completely remove this pin after october 2024
"numba >=0.58",
"numpy",
"Orange3 >=3.34.0",
"orange-canvas-core >=0.1.28",
"orange-widget-base >=4.19.0",
"Orange3 >=3.36.2",
"orange-canvas-core >=0.1.30",
"orange-widget-base >=4.22.0",
"pyqtgraph",
"scipy",
"shap >=0.42.1",
"scikit-learn>=1.0.1",
"shap==0.42.1",
"scikit-learn>=1.3.0",
]

EXTRAS_REQUIRE = {
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ deps =
{env:PYQT_PYPI_NAME:PyQt5}=={env:PYQT_PYPI_VERSION:5.15.*}
{env:WEBENGINE_PYPI_NAME:PyQtWebEngine}=={env:WEBENGINE_PYPI_VERSION:5.15.*}
xgboost
oldest: orange3==3.34.0
oldest: orange-canvas-core==0.1.28
oldest: orange-widget-base==4.19.0
oldest: orange3==3.36.2
oldest: orange-canvas-core==0.1.30
oldest: orange-widget-base==4.22.0
oldest: pandas==1.4.0
oldest: scikit-learn==1.0.1
oldest: scikit-learn==1.3.0
oldest: scipy==1.9.0
latest: https://github.com/biolab/orange3/archive/refs/heads/master.zip#egg=orange3
latest: https://github.com/biolab/orange-canvas-core/archive/refs/heads/master.zip#egg=orange-canvas-core
Expand Down
Loading