This article explains why Einstein predictive models fail to train when there is no variation in the outcome variable and provides guidance on how to resolve this issue.
When training a predictive model, it is crucial to have variation in the outcome variable. If there is no variation, meaning the outcome field (e.g., boolean field) contains only one type of value (e.g., all false values), the model cannot learn and make accurate predictions. For effective model training, the chosen field must have more than 1% different values.
For example, if you have 10,000 sample records being used to train a binary classification model, make sure that at least 101 of those records have true values, while the remaining records have false values, or vice versa.
If the outcome field lacks variation, you will encounter an error message when attempting to run the Einstein model: "There isn't enough variation in the outcome variable. Add more data with variation or choose another outcome variable."
To resolve this issue, ensure that your dataset includes a sufficient amount of different values in the outcome variable. This variation is essential for the model to understand and predict different outcomes accurately.
004575574

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.