Description Usage Arguments Value
View source: R/interactPredict.R
Generate predictions from random forest decision rules corresponding to a signed interaction.
1 | interactPredict(x, int, read.forest, varnames = NULL, min.nd = 1)
|
x |
numeric feature matrix |
int |
a signed interaction. Formatted as 'X1+_X2+_X3-_...' |
read.forest |
output of readForest. |
varnames |
grouping "hyper-features" for RIT search. Features with the same name will be treated as identical for interaction search. |
min.nd |
minimum leaf node size to extract decision rules from. |
a numeric vector of length nrow(x), entries indicating a predicted response for the corresponding observation. Predictions are generated from random forest decision rules using only the features in int.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.