Questions tagged [iml]
28 questions
0
votes
1 answer
Read a CSV file with SAS IML using R code
I try to read a csv file with this code:
%let path= C:\Users\b\file_holidays;
libname bic "&path.\input";
proc iml;
submit bic / R;
bankholidays=read.csv(file.path(bic, "Bankholidays.csv"))
endsubmit;
quit;
but I have the error
"object…

giorgio_b
- 11
0
votes
0 answers
How to best avoid unique value error w/ R package 'iml'
unfortunately I cannot share my data-set and my problem is data-set related, so a bad starting place I guess... but maybe someone's got a hint anyway?
I'm starting with a data-set called input.rf which I am splitting into train and test as…

MarkH
- 122
- 9
0
votes
0 answers
Should Friedman's H-statistic be symmetric for two features?
I am wondering whether Friedman's H-statistic for the importance of two features should be symmetric? If I understand the source attached correctly, then it should be symmetric. However, in my application and minimum working example it is not. Where…

Daniel2805
- 77
- 1
- 8
0
votes
0 answers
Understanding the iml (interpretable machine learning) output for a classification task
Consider this synthetic dataset for classification,
library(tidyverse)
library(iml)
library(randomForest)
# Generate data
set.seed(5)
x = matrix(rnorm(2000), nrow=500)
z = x %*% matrix(c(1,1,1,1), nrow=4)
y = round(1 / (1 + exp(-z)), 0) %>%…

Álvaro Méndez Civieta
- 725
- 3
- 12
- 33
0
votes
0 answers
Is it possible to Change private method into public one by modifying IML code of a .Net Dll?
I need to to Change private method into public one by modifying IML code of a .Net Dll.
How to do?
Best strategy?
No solution up to now.

Tlupin
- 1
- 1
0
votes
0 answers
IML - ALE plots multiple features
I am trying to plot ALE plots using the IML package in R. I am looking to generate plots for over 70 attributes. The individual plots look fine when I use one feature within the Feature$new function. Is there a way to get clear plots when we pass a…

Sindhura
- 1
- 1
0
votes
0 answers
How to make IDEA not generate iml files
I want to make IDEA's maven project not generate iml files, but only pom.xml files, how can I do this?
Don't hide the .iml file, just need to delete it, I tried searching and reading IDEA manual but didn't find an answer.
My IDEA version:IntelliJ…

threecat
- 1
- 1
0
votes
0 answers
Can I change the default set of excludeFolders for generated IML for an imported grails project
When importing a grails project, it will automatically build an iml file for it. However, I always end up marking web-app folder as excluded. I have to do this with every imported project. I wanted to put IML into VCS, however, since it's generated…

Ev0oD
- 1,395
- 16
- 33
0
votes
1 answer
What is the equivalent of the SAS IML symbol ` in R
I am looking through a function as below in SAS IML
a = {34, 55, 67};
aT = a`;
what does a' (I could not print it here correctly but the function has the correct sign) do in SAS and what is the equivalent function in R?
Thanks!

amisos55
- 1,913
- 1
- 10
- 21
0
votes
1 answer
Is there a way to limit the number of features in IML package Shapley values?
I have an automl model created with the H2O package. Currently, H2O only calculates Shapley values on tree-based models. I've used the IML package to calculate the values on the AML model. However, because I have a large number of features, the plot…

Brian Head
- 57
- 4
0
votes
0 answers
Permutation Importance using logLoss as score function (iml package)
I want to use the iml-package calculate permutation feature importance and use logLoss as a loss function.
mtcars$vs <- as.factor(mtcars$vs)
rf <- randomForest(vs ~ ., data = mtcars, importance = TRUE)
X <- mtcars[which(names(mtcars) !=…

koala
- 5
- 2
0
votes
1 answer
Running iml package in parallel results in slower wall-clock time in R?
So I am following the example in the iml vignette about running the calculations in parallel found here. However, I am having a couple of issues that I'm not understanding.
Firstly, in the example he calls both the future library and the…

Electrino
- 2,636
- 3
- 18
- 40
0
votes
0 answers
Missings values for variable importance for neural network in Package IML in R
I try to get variables importance from a neural network with iml package in R. The dependant variable is binary and predictors are normalised. I get a missing value for every predictor. Here's the code I'm using:
library(mlr)
library(iml)
tsk =…

Chris
- 61
- 7