OutputPlotGenerator.create_density_plot.Rd
Function to plot the true and predicted densities in one plot.
OutputPlotGenerator.create_density_plot(yValues, estimated_probabilities, estimated_y_values = NULL, output, dir = "tmp")
yValues | vector a vector of the true outcome values. |
---|---|
estimated_probabilities | vector a vector of the estimated probabilities. |
estimated_y_values | vector (default = NULL) vector of the estimated y_values (i.e., sampled values). |
output | string the filename to use. |
dir | string (default = 'tmp')the directory to plot to. |