d3:evalpred {BCBCSF} | R Documentation |
A function for evaluating arrays of predictive probabilities with the true class labels of test cases
Description
This function is used to find error rate, amlp, loss and predictive probabilities at true labels.
Usage
eval_pred (out_pred, y_ts, Mloss = NULL)
Arguments
out_pred |
a list returned by function |
y_ts |
a vector of true class labels. |
Mloss |
a matrix indicting loss function, with element |
; by default, it is NULL.
Value
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: |