You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using triplot library for feature selection but it give me error.. I simply train a model using mlr3 and create an explainer and then the following :
library(triplot)
model_triplot(explainer)
The error message is:
Error in hclust(as.dist(1 - abs(cor(data, method = cor_method))), method = clust_method) :
NA/NaN/Inf in foreign function call (arg 10)
In addition: Warning message:
In cor(data, method = cor_method) : the standard deviation is zero
@Nehagupta90 there is an explain_mlr3() function in the DALEXtra package. Please try it out and (if it fails) provide a minimal reproducible example to debug this issue.
Activity
hbaniecki commentedon Aug 21, 2021
@Nehagupta90 there is an
explain_mlr3()function in theDALEXtrapackage. Please try it out and (if it fails) provide a minimal reproducible example to debug this issue.Nehagupta90 commentedon Aug 21, 2021
Nehagupta90 commentedon Aug 28, 2021
p-schaefer commentedon Dec 1, 2021
@Nehagupta90 Did you ever resolve this problem? I'm having the same issue.
Edit: I think this has to do with NA's in the data. Being able to pass arguments to
cor(use =x)here might help.Nehagupta90 commentedon Dec 1, 2021