binary_classification_result | R Documentation |
Constructs a binary classification result object based on the observed and predicted values, as well as other optional parameters.
binary_classification_result(
observed,
predicted,
probs,
testind = NULL,
test_design = NULL,
predictor = NULL
)
observed |
A vector of observed or true values. |
predicted |
A vector of predicted values. |
probs |
A |
testind |
The row indices of the test observations (optional). |
test_design |
An optional design for the test data. |
predictor |
An optional predictor object. |
A binary classification result object, with the class attribute set to "binary_classification_result".
Other classification_result:
classification_result()
,
multiway_classification_result()
,
regression_result()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.