mlr-archive / mlr-tutorial

The mlr package online tutorial
http://mlr-org.github.io/mlr/
20 stars 11 forks source link

partial_dependence broken #141

Closed pat-s closed 6 years ago

pat-s commented 6 years ago

by this commit: https://github.com/mlr-org/mlr/commit/f09ee72135ef6618bbdb4eaab1b8e979f71fb65b because the centering option was removed?

iris = getTaskData(iris.task)
pd.ind.classif = generatePartialDependenceData(fit.classif, iris.task, "Petal.Length", individual = TRUE,
  center = list("Petal.Length" = min(iris$Petal.Length)))

Error in (function (data, vars, n, model, uniform = TRUE, points, int.points, : unused argument (center = list(Petal.Length = 1))
pat-s commented 6 years ago

@zmjones cc @larskotthoff

The tutorial section on partial dependence is broken due to the commit in mlr referenced above. Could you please fix it? :) It blocks the travis build.

zmjones commented 6 years ago

yep i am working on it now