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.
- A Machine Learning output (e.g., CART, Support Vector Machine, Linear Discrimination Analysis, etc.)
- Select the Machine Learning output.
- Go to the object inspector > Inputs > SAVE VARIABLE(S) > Prediction Values, or go to the Anything menu > Advanced Analysis > Machine Learning > Save Variable(s) > Prediction Values.
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
Article is closed for comments.