Creating and training solutions

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Creating and Training Solutions

    This guide provides instructions for ServiceNow customers on utilizing the Predictive Intelligence (PI) frameworks to create and train machine-learning solutions. Each framework allows for different types of predictions, recommendations, and data organization based on historical records. Customers can navigate to the Predictive Intelligence Homepage to access these functionalities.

    Show full answer Show less

    Key Features

    • Classification Solutions: Automatically categorize and route work by setting field values during record creation based on past records.
    • Similarity Solutions: Identify similarities between new and existing records to recommend resolutions.
    • Clustering Solutions: Group similar records to identify patterns and major incidents.
    • Regression Solutions: Note that new regression solutions can no longer be created in the Washington DC release, but existing ones can still be edited and trained.

    Key Outcomes

    To create effective machine-learning solutions, it is crucial to select high-quality training data. Consider the following:

    • Ensure the solution definition input fields are available during record creation.
    • Limit output field values to a finite set for greater accuracy.
    • Filter out records with unreliable output values.
    • Include multiple examples of each output field value for better coverage.
    • Incorporate common variations of input fields to enhance training.

    Once the solution is ready, export it to a centralized training server within the same datacenter for training. Predictions will subsequently occur on a centralized prediction server, ensuring data sovereignty and security through HTTPS communication within the datacenter firewall. For any training issues, refer to the Predictive Intelligence Common Issues article in the Now Support Knowledge Base.

    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 All > Predictive Intelligence > Homepage to view and create solutions.

    Select the best framework for your desired prediction:
    • 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:
      Important:
      With 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 create new ones.
      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.

    Selecting data records for training your solution

    A solution is only as good as the record data you use to train it. In general, a good training dataset has these characteristics.
    • 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

    Predictive Intelligence training flow

    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. As every datacenter has its own dedicated training server and the data doesn't leave the datacenter, this service is also available to customers who have data sovereignty requirements.

    Predictions occur on a centralized prediction server within the same datacenter as the instance. The trained model artifacts are sent from the instance server to the prediction server when the prediction is invoked for the first time. After that, the trained model artifacts are cached on the prediction server for subsequent predictions.
    Note:
    All communication between the instance and the training service occurs within the same datacenter firewall. Even so, all communications occur over HTTPS.

    Solution training troubleshooting

    For troubleshooting common training issues, see the Predictive Intelligence Common issues [KB781893] article in the Now Support Knowledge Base.