Training Days to Staff Predictor (beta) Models
The Days to Staff Predictor (beta) model enables you to minimize the Days to Staff field from the Days to Staff dataset. Days to staff is the number of days it takes to staff resource requests on projects based on historical data in your org. The Days to Staff Predictor (beta) model analyzes the different data related to this metric in your Days to Staff dataset and highlights the factors that influence it.
Dependencies and Limitations
For information on the dependencies and limitations of the Days to Staff 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 Resource Request from the object list and click Next.
- Map object fields to model variables as follows:
Resource Request Field Mappings for the Days to Staff Predictor (beta) Model Model Variable
Object Field
AllowCandidatesToSelfNominate pse__Resource_Request__c > Allow Candidates To Self-Nominate ProjectGroupNameChainAsc pse__Resource_Request__c > pse__Proj__r > pse__Group__r > Group Name Chain
ProjectManagerName pse__Resource_Request__c > pse__Project__r > pse__Project_Manager__r > Full Name ProjectPracticeNameChainAsc pse__Resource_Request__c > pse__Proj__r > pse__Practice__r > Practice Name Chain ProjectRegionNameChainAsc pse__Resource_Request__c > pse__Proj__r > pse__Region__r > Region Name Chain ProjectStage pse__Resource_Request__c > pse__Project__r > Stage ResourceRequestCreatedDate pse__Resource_Request__c > Created Date ResourceRequestPracticeNameChainAsc pse__Resource_Request__c > pse__Practice__r > Practice Name Chain ResourceRequestGroupNameChainAsc pse__Resource_Request__c > pse__Group__r > Group Name Chain ResourceRequestRegionNameChainAsc pse__Resource_Request__c > pse__Region__r > Region Name Chain ValueAssignmentCostRate pse__Resource_Request__c > Cost Rate Amount ValueAssignmentPlannedBillRate pse__Resource_Request__c > pse__Assignment__c > pse__Planned_Bill_Rate__c ValueResourceRequestSuggestedBillRate pse__Resource_Request__c > pse__Suggested_Bill_Rate_Number__c
Once you have deployed the model, add the Einstein Predictions component to the Resource Request Lightning page layout to view days to staff predictions on the Resource Request object. For more information on adding components to Lightning page layouts, see the Salesforce Help.