-
Notifications
You must be signed in to change notification settings - Fork 2
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
triplot() does not work in my case.. #23
Comments
@Nehagupta90 there is an |
Thank you for your email.
I have already used explain_mlr3.
data = readARFF("china.arff")
index= sample(1:nrow(data), 0.7*nrow(data))
train= data[index,]
test= data[-index,]
task = TaskRegr$new("data", backend = train, target = "Effort")
learner= lrn("regr.randomForest")
model= learner$train(task )
explainer = explain_mlr3(model,
data = test[,-19],
y = test$Effort,
label="RF")
library(triplot)
model_triplot(explainer)
…On Sat, Aug 21, 2021 at 1:58 PM Hubert Baniecki ***@***.***> wrote:
@Nehagupta90 <https://github.com/Nehagupta90> there is an explain_mlr3()
function in the DALEXtra <https://github.com/ModelOriented/DALEXtra>
package. Please try it out and (if it fails) provide a minimal reproducible
example to debug this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2ZZ2MR267MXSA2BZSXABTT56IGTANCNFSM5CRY37EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi, I am still waiting for the problem to be resolved.. Why I am getting
the above error?
Warm regards
…On Sat, Aug 21, 2021 at 3:17 PM Neha gupta ***@***.***> wrote:
Thank you for your email.
I have already used explain_mlr3.
data = readARFF("china.arff")
index= sample(1:nrow(data), 0.7*nrow(data))
train= data[index,]
test= data[-index,]
task = TaskRegr$new("data", backend = train, target = "Effort")
learner= lrn("regr.randomForest")
model= learner$train(task )
explainer = explain_mlr3(model,
data = test[,-19],
y = test$Effort,
label="RF")
library(triplot)
model_triplot(explainer)
On Sat, Aug 21, 2021 at 1:58 PM Hubert Baniecki ***@***.***>
wrote:
> @Nehagupta90 <https://github.com/Nehagupta90> there is an explain_mlr3()
> function in the DALEXtra <https://github.com/ModelOriented/DALEXtra>
> package. Please try it out and (if it fails) provide a minimal reproducible
> example to debug this issue.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AN2ZZ2MR267MXSA2BZSXABTT56IGTANCNFSM5CRY37EA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
> .
>
|
@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 |
Yes but with some models it works and with some it gives problems.. I am
not sure why we are not getting response from experts here.
…On Wed, Dec 1, 2021 at 4:44 PM p-schaefer ***@***.***> wrote:
@Nehagupta90 <https://github.com/Nehagupta90> Did you ever resolve this
problem? I'm having the same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2ZZ2OPHYKNCQU4UFKLDVLUOY7GNANCNFSM5CRY37EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone
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
The text was updated successfully, but these errors were encountered: