Questions tagged [dalex]
22 questions
0
votes
0 answers
DALEX for classification problems
I built a logistic regression model with penalty with caret and then i try to create an object through DALEX::explain to subsequently analyze the various aspects of the model.
Perhaps the problem lies in having a binary classification model.
Here my…

Gaetano C.
- 11
- 5
0
votes
1 answer
survxai explainer with an mlr3proba model
I am trying to build a survxai explainer from a survival model built with mlr3proba. I'm having trouble creating the predict_function necessary for the explainer. Has anyone ever tried to build something like this?
So far, my code is the…

pvidal00
- 15
- 5
0
votes
0 answers
explaining clasification models in mlr3 with DALEX
I like to use the DALEX package in mlr3 and I tried to work with an example similar to chapter 9.2.4 in the mlr3 book (https://mlr3book.mlr-org.com/interpretation.html).
So my code looks like this
# the "learner_analyzed" is a classification…

ds_col
- 129
- 10
0
votes
1 answer
Remove variable in model_parts() plot
I want to remove certain variables from the plot.
# Packages
library(tidymodels)
library(mlbench)
# Data
data("PimaIndiansDiabetes")
dat <- PimaIndiansDiabetes
dat$some_new_group[1:384] <- "group 1"
dat$some_new_group[385:768] <- "group 2"
#…

Tengku Hanis
- 87
- 8
0
votes
1 answer
Can DALEX be used for mlr3 surv models?
I am not sure if I can use DALEX for my mlr3 survival models because y argument does not accept Surv(time, status). I also don't think results are correct when I use "status" for y since this ignores the censoring…

Ali Alhadab
- 101
- 5
0
votes
0 answers
How to run parallel in breakdown algorithm?
I have some lines code following.
library(mlr3)
library(mlr3pipelines)
library(mlr3extralearners)
library(DALEX)
library(DALEXtra)
library(tidyverse)
data = tsk("german_credit")$data()
data = data[, c("credit_risk", "amount", "purpose",…

BinhNN
- 87
- 7
0
votes
1 answer
One hot encoding for logit and the sklearn pipeline
I am trying to use the Dalex package in Python to visualize certain characteristics of a binary logit model.
I copied a piece of code from the example book here
(the whole fifth code cell) but now I am not quite sure about how the results should be…

kuchejdatomas
- 105
- 1
- 8