returns calibrated predictions for the instances new
using the trained GUESS calibration model build_guess_object
.
Two different evaluation methods are available.
Method 1: returns the p-value for the score new
under the distribution that is handed over in the build_guess_object
Method 2: returns the probability density value for the score new
under the distribution that is handed over in the build_guess_object
predict_GUESS(build_guess_object, new, density_evaluation = 2,
return_class_density = FALSE)
output from the build_GUESS
method
vector of uncalibrated probabilities
which density evaluation method should be used to infer calculate probabilities, Default: 2
if set to TRUE, class densities p(x|class) are returned, Default: FALSE
a list object containing the following components:
contains a vector of calibrated predictions
which density evaluation method was used
the percentage of new
instances that was evaluated using significant prediction estimates
a vector containing the p(x|case) values
a vector containing the p(x|control) values
dens_case
and dens_control
are only returned when return_class_density
is set to TRUE