Machine Learning - Save Variable(s) - Probabilities

From Q
Jump to: navigation, search

Creates new variables containing predicted probabilities of each response from a machine learningmachine learning model or ensembleensemble.


A table of probabilities of a binary outcome variable.

Technical details

Uses the Probabilities method from the R package flipData. Unlike the defaults in most R packages, this implementation assigns probabilities for observations not in the estimation sample.


includeWeb("QScript R Output Functions");

function main() {
    saveVariables("Probabilities", "Machine Learning, MachineLearningEnsemble or Regression", 
    "flipData::Probabilities(", ")", null, null, "prob");