| plotavsp | R Documentation |
Plot actual vs. predictions of a regression model.
plotavsp(predictions, gt)
predictions |
The predictions of a classification model ( |
gt |
The ground truth of the dataset ( |
confusion, evaluation.accuracy, evaluation.fmeasure, evaluation.fowlkesmallows, evaluation.goodness, evaluation.jaccard, evaluation.kappa,
evaluation.precision, evaluation.recall,
evaluation.msep, evaluation.r2, performance
require (datasets)
data (trees)
model = LINREG (trees [, -3], trees [, 3])
pred = predict (model, trees [, -3])
plotavsp (pred, trees [, 3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.