powered by
Print contents of the partDependence.
# S3 method for partDependence print(x, ...)
No return value, called for side effects
Fitted object of class partDependence.
partDependence
Further arguments passed to or from other methods.
Markus Ulmer
partDependence, plot.partDependence
plot.partDependence
set.seed(1) x <- rnorm(10) y <- sign(x) * 3 + rnorm(10) model <- SDTree(x = x, y = y, Q_type = 'no_deconfounding', cp = 0.5) pd <- partDependence(model, 1, X = x) print(pd)
Run the code above in your browser using DataLab