Training Project Margin % Predictor (beta) Models
The Project Margin % Predictor (beta) model enables you to predict the Project Margin (%) field based on historical performance and determines which factors are influential in maximizing a project's margin.
Dependencies and Limitations
For information on the dependencies and limitations of the Project Margin % Predictor (beta) model, see PS Cloud AI Analytics Overview.
Training the Model
You can retrain a model if you want to:
- Improve your model's accuracy. Go to Performance Model Evaluation to view your model's accuracy metrics.
- Change the variables that contribute to the prediction. Go to Settings to change the variables.
To retrain the existing model:
- Open the model from the Model tab.
- Click Settings.
- Select the variables that you think will generate the most accurate predictions for your projects.
- Click Train Model.
Deploying the Model
To deploy the model:
- Open the model from the Model Manager tab.
- Click , then select View Model Details.
- On the Model Settings tab, click the first under Object Connection.
- Select Connect to a Salesforce Object, then select Project from the object list and click Next.
- Map object fields to model variables as follows:
Project field mappings for the Project Margin % Predictor (beta) Model Model Variable
Object Field
ProjectBillingType pse__Proj__c > Billing Type
ProjectEndDate pse__Proj__c > End Date ProjectGroupNameChainAsc pse__Proj__c > pse__Group__r > Group Name Chain ProjectManagerName pse__Proj__c > pse__Project_Manager__r > Full Name ProjectPracticeNameChainAsc pse__Proj__c > pse__Practice__r > Practice Name Chain ProjectRegionNameChainAsc pse__Proj__c > pse__Region__r > Region Name Chain ProjectStartDate pse__Proj__c > Start Date ValueProjectBookings pse__Proj__c > Bookings ValueProjectDuration pse__Proj__c > Duration (Days)
Once you have deployed the model, add the Einstein Predictions component to the Project Lightning page layout to view project margin percent predictions on the Project object. For more information on adding components to Lightning page layouts, see the Salesforce Help.