Learn R Programming

BCBCSF (version 0.0-2)

d3:evalpred: 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

Value

probs_at_truelabelsa matrix of predictive probabilities at true labels, with rows for cases, and columns for different numbers of retained featuressummarya data frame, with rows for different numbers of retained features, and columns: Error.Rate: fraction of cases misclassified with fair threshold, and AMLP: minus average log probabilities at true labels, often called "deviation", and Loss (if Mloss is given): average loss.