Description Usage Arguments Value
Create an object for visualizing pdp plots for a principal component
1 2 3 4 5 6 7 8 9 10 |
model |
A fitted model object of an appropriate class |
X |
Design matrix that the object was trained on |
type |
Outcome type, either 'classification' (binary) or 'regression' |
pc_num |
Integer of principal component to visualize |
samp_size |
Number of unique PC values marginalize and plot |
feature |
Feature to plot a partial dependence plot for |
pin |
Feature to pin pdp plot to over a range of a principal component |
ice |
Logical, options to include individual expectation curves |
A pdp style plot of the specified principal component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.