View source: R/conform.classification.R
| predict.conform.classification | R Documentation |
Predict p-values for each class from conform.classification object given test covariate data
## S3 method for class 'conform.classification' predict(object, test_x, k = 1, weight.method = "glm", ...)
object |
conform.classification object |
test_x |
test set covariate data |
k |
number of nearest neighbors for conform.classification object with algorithm="knn" |
weight.method |
method to use to calculate weights for conform.classification object with algorithm="weighted" |
... |
additional parameters for training caret model with a weighted algorithm conformal predictor |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.