This article describes how to save variables containing predicted values for each case in the data from a Machine Learning model (e.g., from Machine Learning - Random Forest). Observations with missing values in the predictors are predicted as NA. The below example shows the predicted value from the model on a respondent level.
Requirements
- A Machine Learning output (e.g., CART, Support Vector Machine, Linear Discrimination Analysis, etc.)
Please note these steps require a Displayr license.
Method
- Select the Machine Learning output.
- Go to the object inspector > Data > SAVE VARIABLE(S) > Prediction Values, or go to the Anything menu > Advanced Analysis > Machine Learning > Save Variable(s) > Prediction Values.
See Also
How to Create a Classification And Regression Trees (CART)
How to Run Machine Learning Diagnostics - Prediction-Accuracy Table
How to Run Machine Learning Diagnostics - Table of Discriminant Function Coefficients extension
How to Create an Ensemble of Machine Learning Models
How to Run a Gradient Boosting Machine Learning Model
How to Compare Machine Learning Models
How to Run Machine Learning Linear Discriminant Analysis
How to Save Machine Learning Discrimination Variables
How to Save Machine Learning Probability of Each Response Variable
How to Run Support Vector Machine