Description Usage Arguments Value
This function is used to find error rate, amlp, loss and predictive probabilities at true labels.
1 | eval_pred (out_pred, y_ts, Mloss = NULL)
|
out_pred |
a list returned by function |
y_ts |
a vector of true class labels. |
Mloss |
a matrix indicting loss function, with element m_{ij} saving the losss from predicting class i with class label j |
; by default, it is NULL.
probs_at_truelabels |
a matrix of predictive probabilities at true labels, with rows for cases, and columns for different numbers of retained features |
summary |
a data frame, with rows for different numbers of retained features, and columns: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.