biolab / orange3-explain

Explainable AI add-on for Orange3
GNU General Public License v3.0
5 stars 5 forks source link

[FIX] Resolve deprecations #63

Closed PrimozGodec closed 1 year ago

PrimozGodec commented 1 year ago

In the addon, there are some calls to deprecated functions.

This PR resolve deprecated calls/classes. It also increases the minimum versions of Orange packages because of ListViewFilter and get_column.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 87.50% and no project coverage change.

Comparison is base (4ae18ab) 93.47% compared to head (497000e) 93.47%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #63 +/- ## ======================================= Coverage 93.47% 93.47% ======================================= Files 16 16 Lines 5030 5030 ======================================= Hits 4702 4702 Misses 328 328 ``` | [Files Changed](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab) | Coverage Δ | | |---|---|---| | [orangecontrib/explain/tests/test\_explainer.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3Rlc3RzL3Rlc3RfZXhwbGFpbmVyLnB5) | `99.45% <ø> (ø)` | | | [orangecontrib/explain/widgets/owice.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3dpZGdldHMvb3dpY2UucHk=) | `83.90% <60.00%> (-0.06%)` | :arrow_down: | | [orangecontrib/explain/explainer.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL2V4cGxhaW5lci5weQ==) | `100.00% <100.00%> (ø)` | | | [...ngecontrib/explain/widgets/owexplainfeaturebase.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3dpZGdldHMvb3dleHBsYWluZmVhdHVyZWJhc2UucHk=) | `97.97% <100.00%> (+<0.01%)` | :arrow_up: | | [orangecontrib/explain/widgets/owexplainmodel.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3dpZGdldHMvb3dleHBsYWlubW9kZWwucHk=) | `92.78% <100.00%> (ø)` | | | [...ngecontrib/explain/widgets/owexplainpredictions.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3dpZGdldHMvb3dleHBsYWlucHJlZGljdGlvbnMucHk=) | `78.25% <100.00%> (+0.03%)` | :arrow_up: | | [...contrib/explain/widgets/owpermutationimportance.py](https://app.codecov.io/gh/biolab/orange3-explain/pull/63?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biolab#diff-b3JhbmdlY29udHJpYi9leHBsYWluL3dpZGdldHMvb3dwZXJtdXRhdGlvbmltcG9ydGFuY2UucHk=) | `90.94% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.