evaluateYhat | R Documentation |
This function evaluates the predicted classification either using (1) a model object that contains intercept and sign or (2) directly the attributes score, intercept, sign
evaluateYhat(
mod = NULL,
X,
y,
clf,
score = NULL,
intercept = NULL,
sign = NULL
)
mod: |
a model object to be used in the class prediction |
X: |
dataset to classify |
y: |
variable to predict |
clf: |
an object containing the different parameters of the classifier |
score: |
the score passed directly |
intercept: |
the intercept passed directly |
sign: |
the sign passed directly |
a vector with the predicted classification of the samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.