LinRegPredict. The LinRegPredict function takes a model built by the Linear Regression Function and a test data set whose input attributes are the same as those in the model, and predicts the response variable for each observation in the test data set.
ROC. The ROC function takes a set of prediction-actual pairs for a binary classification model and calculates the following values for a range of discrimination thresholds:
- True positive rate (TPR)
- False positive rate (FPR)
- Area under the ROC curve (AUC)
- Gini coefficient