View source: R/PredictionDistribution.R
getPredictionDistribution | R Documentation |
Calculates the prediction distribution
getPredictionDistribution(
prediction,
predictionType = "binary",
typeColumn = "evaluation"
)
prediction |
A prediction object |
predictionType |
The type of prediction (binary or survival) |
typeColumn |
A column that is used to stratify the results |
Calculates the quantiles from a predition object
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
prediction <- data.frame(rowId = 1:100,
outcomeCount = stats::rbinom(1:100, 1, prob=0.5),
value = runif(100),
evaluation = rep("Train", 100))
getPredictionDistribution(prediction)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.