getPredictionDistribution: Calculates the prediction distribution

View source: R/PredictionDistribution.R

getPredictionDistributionR Documentation

Calculates the prediction distribution

Description

Calculates the prediction distribution

Usage

getPredictionDistribution(
  prediction,
  predictionType,
  typeColumn = "evaluation"
)

Arguments

prediction

A prediction object

predictionType

The type of prediction (binary or survival)

typeColumn

A column that is used to stratify the results

Details

Calculates the quantiles from a predition object

Value

The 0.00, 0.1, 0.25, 0.5, 0.75, 0.9, 1.00 quantile pf the prediction, the mean and standard deviation per class


OHDSI/PatientLevelPrediction documentation built on April 6, 2024, 11:50 p.m.