powered by
scatter plot between the actual value of the variable to be predicted and the prediction of the model.
plot_real_prediction(real, prediction, model = "")
the real values in traning-testing.
the prediction values in traning-testing.
the name of the model of the scatter plot.
# NOT RUN { real <- rnorm(45) prediction <- rnorm(45) model <- "KNN" plot_real_prediction(real, prediction, model) # }
Run the code above in your browser using DataLab