ova_prediction | R Documentation |
One-Vs-All prediction approach
ova_prediction(
fits,
data,
class,
test.id = NULL,
train.id = NULL,
threshold = 0,
standardize = FALSE,
...
)
fits |
list of ova fits from |
data |
data frame with rows as samples, columns as features |
class |
true/reference class vector used for supervised learning |
test.id |
integer vector of indices for test set. If |
train.id |
integer vector of indices for training set. If |
threshold |
a number between 0 and 1 indicating the lowest maximum class probability below which a sample will be unclassified. |
standardize |
logical; if |
... |
additional arguments to be passed to or from methods |
(tibble) predicted probabilities for each class
Dustin Johnson, Derek Chiu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.