biolab / biolab/orange3-addons

Facing "module 'numpy' has no attribute 'int'" error when supplying Data to widgets under Explain add-on

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The same error message i.e ```module 'numpy' has no attribute 'int'``` is displayed when I supply Data to the following widgets - Explain Model, Explain Prediction and Explain Predictions.

I have followed the same workflow as shown in [article on Orange website](https://orangedatamining.com/blog/2021/2021-02-10-explaining-models/) however, as soon as I supply either of the widgets with Data, this error is shown.

I am attaching screenshots of the workflow.

**Operating System** - Windows 11
**Orange Version** - 3.35.0
**Orange Installed Using** - pip

![Screenshot (284)](https://github.com/biolab/orange3-addons/assets/99204705/acabd34d-1460-4524-af5b-35eb9e88c82d)
![Screenshot (282)](https://github.com/biolab/orange3-addons/assets/99204705/66502853-5e4a-43be-872f-a4a69462fb99)
![Screenshot (283)](https://github.com/biolab/orange3-addons/assets/99204705/5d838a70-7d7d-4048-9900-0003c4bb2973)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error by supplying Data to the Explain Model, Explain Prediction, and Explain Predictions widgets using the reported Orange 3.35.0 pip setup on Windows 11, then inspect the resulting traceback for the failing numpy usage. Done means all three widgets accept the Data input without the module 'numpy' has no attribute 'int' error.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.