If you encounter issues during your solution training and solution prediction, follow these suggested resolutions.

Input Data

It is recommended to have at least 30,000 records to train your models with, but the accuracy of the model is determined by the input data.

There are three primary factors that determine the quality of the input data used to train solutions:

  • Cleanliness: Sanitized data reduces noise, making the model more accurate.
  • Quality: The input and output should be valid and correct to train the model to make accurate predictions.
  • Distribution: Data that represents the entire dataset as a whole will result in a model that can make more generalized predictions.

Most raw data sets contain dirty and unusable data. Reviewing your input sets before training is essential to keeping accurate predictive models.

It is recommended to use approximately 80% of your input data to train your model and about 20% of the data to evaluate whether the model is accurate. You can compare the model's predicted results against the real values for the 20% of remaining data.

Solution training

Solution prediction

Issue Resolution or suggested action
The prediction fails and returns a Java exception where the cause is unknown.
  1. Search for the exception in the Predictive Intelligence Glide logs.
  2. Submit an Incident record for Predictive Intelligence including all relevant details, such as the exception, the impacted instance, the solution name, and the input string.
There is no prediction applied to the incident/case record but the prediction returns a value when tested in the Rest API Explorer. This can occur when the confidence of the prediction is less than the threshold required to make a prediction. After your solution is trained, use the following steps to confirm if your solution settings need adjusting.
  1. Navigate to System Web Services > REST > REST API Explorer to find the confidence level for the prediction. See Test a classification solution prediction.
  2. On your ML Solution Definition record, check the threshold set for your outcome class that was returned in the prediction by clicking on the name of the class. The Class page appears.
  3. Check the Estimated Precision and Estimated Coverage values. If the corresponding threshold is more than the prediction confidence of the outcome, this is the root cause for why you did not see any prediction.
  4. Adjust the class precision and coverage values to increase coverage or precision. See Tune a trained classification solution.

Instance cloning

Issue Resolution or suggested action
After an instance is cloned, predictions for your existing solutions fail. The ML solution artifacts in the [ml_artifacts] table are stored in the [sys_attachment table]. If the [ml_artifacts] table isn't included in the clone when you run it, the predictions fail. Ensure your clone includes the machine-learning artifacts, as these are critical components of your Predictive Intelligence solution.
After an instance is cloned, the solution training fails. As the cloning run proceeds, it is possible that the sharedservice.worker user has either been inactivated, locked out, or the user ID isn't set. Resolve these problems so that the solution training succeeds.