powered by
Plot actual vs. predictions of a regression model.
plotavsp(predictions, gt)
The predictions of a classification model (vector).
vector
The ground truth of the dataset (vector).
confusion, evaluation.accuracy, evaluation.fmeasure, evaluation.fowlkesmallows, evaluation.goodness, evaluation.jaccard, evaluation.kappa, evaluation.precision, evaluation.recall, evaluation.msep, evaluation.r2, performance
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])
Run the code above in your browser using DataLab