This article describes how to save variables containing predicted values for each case in a Machine Learning model (e.g., a Random Forest). Observations with missing values in the predictors are assigned NA values. The example below shows the model's predicted value at the respondent level.
Requirements
- A Machine Learning output (e.g., CART, Support Vector Machine, Linear Discrimination Analysis, etc.)
Method
- Select the Machine Learning output.
- Go to the Object Inspector
> Data > Save Variables(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
UPCOMING WEBINAR: The Roadmap for Market Researchers in the Age of AI