ModelOriented / ModelOriented/DALEX
Error in predict_parts_shap_aggregated ()
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am trying predict_parts_shap_aggregated () to predict the important variable features of a random forest model.
However, I am getting this error -
Error in .rowNamesDF<-(x, value = value) :
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names'
But there is no duplicate names.
And when i am trying the predict_parts_shap (), it works perfectly fine.
Could you please suggest the probable solution of this error.
Thanking you.
Dibakar Roy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error in predict_parts_shap_aggregated() with the reported random forest model, then compare its inputs and row-name handling with predict_parts_shap(), which works. Done means identifying and correcting the cause of duplicate row names so the aggregated prediction completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100