Skip to content

triplot() does not work in my case.. #23

Open

Description

@Nehagupta90

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

Activity

  1. hbaniecki commented on Aug 21, 2021

    @hbaniecki
    Member

    @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.

  2. Nehagupta90 commented on Aug 21, 2021

    @Nehagupta90
    Author
  3. Nehagupta90 commented on Aug 28, 2021

    @Nehagupta90
    Author
  4. p-schaefer commented on Dec 1, 2021

    @p-schaefer

    @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.

  5. Nehagupta90 commented on Dec 1, 2021

    @Nehagupta90
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions