This article describes how to go from a Machine Learning, Machine Learning Ensemble, or Regression output model:
To respondent-level predicted values based on the Machine Learning model:
- A document containing a Machine Learning, Machine Learning Ensemble, or Regression output created in Displayr.
- Select your Machine Learning model output.
- From the object inspector, click SAVE VARIABLE(S) > Predicted Values.
A variable set labeled "Predicted Values [modeltype]" is added to the top of your data set.
Technical details: Uses the predict method from R. Unlike the defaults in most R packages, this implementation assigns predicted values for observations not in the estimation sample. Categorical variables are predicted as discrete.