Creating and training solutions
Summarize
Summary of Creating and Training Solutions
ServiceNow's Predictive Intelligence (PI) frameworks enable you to create and train machine-learning solutions that predict, recommend, and organize data outcomes. These solutions help automate categorization, routing, similarity identification, and pattern recognition based on historical data. You manage and create solutions through the Predictive Intelligence homepage within your instance.
Show less
Key Features
- Classification Solutions: Automatically categorize and route records during creation based on past data.
- Similarity Solutions: Identify similarities between new and existing records to recommend resolutions.
- Clustering Solutions: Group similar records to detect patterns such as major incidents.
- Regression Solutions: (Legacy) Predict numeric outcomes like resolution times; no new regression solutions can be created since the Washington DC release, but existing ones can still be trained and edited.
Training Data Selection
The quality of your training dataset directly impacts solution accuracy. Best practices include:
- Ensure input fields used for prediction are available to users at record creation.
- Use a choice field with a limited set of output values to improve prediction precision.
- Filter out records with unreliable or changing output field values (e.g., recently closed incidents under review).
- Include multiple examples of each output value and variations of input field values to provide comprehensive training coverage.
Training Process and Data Security
Training involves exporting your solution definition and relevant records to a centralized training server located within the same datacenter as your instance. After training completes, the solution is imported back into your instance and training data is deleted from the server.
- Each datacenter has a dedicated training server; data does not leave the datacenter.
- Prediction requests are processed by a centralized prediction server in the same datacenter, with trained models cached for efficiency.
- All communications between your instance and training/prediction servers are encrypted via HTTPS and occur behind the datacenter firewall, supporting compliance requirements.
Troubleshooting
For common issues related to solution training, refer to the Predictive Intelligence Common Issues knowledge base article to quickly resolve training problems and maintain solution effectiveness.
Use one of the Predictive Intelligence (PI) frameworks to create and train machine-learning solutions. Each framework delivers a different solution type for training the system to predict, recommend, and organize data outcomes.
Types of solutions
The three PI frameworks provide different solutions that can be invoked by any application through a prediction API to make a prediction. Create and train your own solutions using your previous data. Navigate to to view and create solutions.
- Classification solutions:
Sets field values during record creation to automatically categorize and route work based on past records. See Create and train a classification solution.
- Similarity solutions:
Identifies similarities between new and existing records to recommend resolutions. See Create and train a similarity solution.
- Clustering solutions:
Groups similar records into clusters to identify patterns and major incidents. See Create and train a clustering solution.
- Regression solutions: Note:Uses historic data to predict numeric outputs, such as estimating the time it takes to resolve an incident or case. See Create and train a regression solution.From the Washington DC release, support for creating new regression solutions was removed. You can still edit and train existing regression solutions, but you won't be able to initiate new ones.
Selecting data records for training your solution
- The solution definition input fields are available to users when creating records. To make predictions at record creation, the solution must have the input field values at record creation.
- The solution definition output field is a choice field. To make more accurate predictions, limit the output field to a finite set of possible values.
- The training records only contain correct values for the output field. To make more accurate predictions, filter out any records that have unreliable output field values. For example, if recently closed incidents are subject to review and change for a month, filter out any recently closed incidents.
- The training records contain multiple examples of each output field value that you want the solution to predict. To provide more record coverage, include multiple examples of each output field value.
- The training records include common variations of the input fields. To provide more record coverage, include multiple examples of input field values.
Exporting your solution for training
To train a solution, you export its solution definition and associated records to a centralized training server within the same datacenter. When the training completes, the training server exports the solution back to your instance and deletes all of your training data from the server. Each datacenter has its own dedicated training server and the data doesn't leave the datacenter. Confirm that your configuration aligns with your compliance requirements.
Solution training troubleshooting
For troubleshooting common training issues, see the Predictive Intelligence Common issues [KB781893] article in the Now Support Knowledge Base.