Build a Prediction
Time to Create Your Prediction
Things are going well. You created the custom formula field that you want to predict. You created fields to enrich your prediction. Now it’s time to tell Einstein to build your prediction.
- From Setup, in the Quick Find box, enter
Einstein Prediction Builder
and select Einstein Prediction Builder. Or, click Get Started on the Einstein Prediction Builder tile. - If this is the first time you’re using Einstein Prediction Builder in this special new org, click Review Terms and read all the terms to try Einstein Prediction Builder. Then select I'm authorized by my company to accept these terms, and click Try Einstein.
- On the splash page, click Get Started to set up and launch Einstein Prediction Builder. If you're still waiting after a few minutes, refresh your browser to see if you can start building your prediction.
- Click New Prediction.
- On the Name & Type page, enter
No Show Prediction
for your prediction name. The API Name field auto-populates according to the prediction name. - To define your prediction type, select the Yes/No prediction because we’re predicting whether or not a customer is likely to be a no-show. Then click Save & Next.
- On the Object page, enter Reservation and select the object. Then click Save & Next. Data Checker automatically checks if you have enough records in your dataset for Einstein to build a prediction.
- On the Segment page, specify which reservation records you want Einstein to consider. In this case, leave the default All Reservations option selected. Then click Next.
- On the Example Records page, define your example or training set. You want to use past reservations to find out whether customers are likely to be no-shows or not.
First, define records that are examples of a "Yes" outcome (Yes Example). Leave the default Meet All Conditions selection for your filter. Select the Status field, the Equals operator, the Picklist type, and the No Show value.Now define records that are examples of a "No" outcome (No Example). Leave the default Meet All Conditions selection for your filter. Select the Status field, Equals operator, Picklist type, and Completed value. Then click Save & Next. If Data Checker shows “0 Records to predict” don’t worry! That’s just because you’re working in a simulated environment. After you build your prediction and verify this step, lots of records will have predicted values. Looks good?
- On the Included Fields page, review the fields for Einstein to analyze to make a prediction. In this case, leave all the fields selected, and click Next.
- On the Records to Predict page, select Predict on all records that aren’t example records. Then click Next.
- On the Score Field page, name the field where Einstein saves your prediction results (scores). Enter
Predicted No Show
for the Field Label and tab to populate the field name. Then click Save & Next. - On the Review & Build page, review your prediction settings. To make a change, go to the relevant page to adjust your selections. Data Checker runs one final time to make sure Einstein can build a prediction based on the way you’ve set up your data. Once you’re satisfied, click Build.
It can take a few hours for Einstein to analyze your data and build predictions. Although the process seems a lot faster in this project, it may still take at least 30 mins to score your prediction.
- Once building has finished, you'll find your prediction in the List View in Einstein Prediction Builder. On the No Show Prediction, navigate to the bottom right icon and click View Scorecard.
The scorecard lets you understand the prediction quality so you can decide whether or not to enable the prediction.
- On your prediction, navigate to the bottom right icon once again. Then click Enable so Einstein can start scoring your prediction data.
- Click Verify Step and proceed to the next step in the project. If you're unable to verify, try again after completing the next unit.