prediction_plot: Plot predicted and true values for diganostic purposes

View source: R/prediction_plot.R

prediction_plotR Documentation

Plot predicted and true values for diganostic purposes

Description

If a Lrnr_sl fit is provided, predictions will be generated from the cross-validated learner fits and final metalearner fit. Otherwise, non cross-validated predictions will be used an an error will be thrown

Usage

prediction_plot(learner_fit)

Arguments

learner_fit

A fit sl3 learner object. Ideally from a Lrnr_sl

Value

A ggplot2 object


jeremyrcoyle/sl3 documentation built on April 30, 2024, 10:16 p.m.