A solution definition tells Predictive Intelligence which table to learn from, which field to predict, which inputs to read and how often to retrain. Stopwords lists remove filler words before training, and any trained version can be activated. In the Australia release, new classification, clustering and similarity solutions use pre-trained Workflow solutions, so they need no word corpus. For an overview, see what Predictive Intelligence is.
Check the training records before the form
Model quality follows input quality: clean, correct values drawn from a representative set. Raw tables often hold duplicates, half-filled fields and retired categories, so review the database dictionary and a sample of real values first. For more practice notes, see Predictive Intelligence best practices.
A practical starting point is at least 30,000 records, although accuracy depends on what those records contain. Keep a sample of the records out of training as a check, then compare predictions against the real values in that sample.
Create a classification solution definition
Go to All > Predictive Intelligence > Classification > Solution Definitions and select New. You need the admin or ml_admin role. For access planning around that role, see security and access design for Predictive Intelligence. Keep one definition per predictive model. The Copy Solution Definition option in the context menu duplicates an existing definition, which you then edit.
Label is the unique name you type. Name fills in automatically and is read-only. Table points to the records you want the system to predict. Output Field is the value the model sets. A good output field is a choice field, or a string field with a limited set of values, that has a real connection to the inputs. The default incident categorization definition uses Category.
The Fields section holds the inputs. They should be fields users fill in when creating records, typed as string, reference, choice or HTML, and they should hold a value rather than being blank. Short description appears in all default definitions because it usually carries the richest context.
Build the training filter
The filter must return at least one record, and the recommended range is 30,000 to 300,000. If it returns more, the newest 300,000 are used.
Select finished records, such as resolved or closed items that are no longer active, and remove records whose target values are wrong or retired. Each target value needs several examples, and the inputs should include the usual spellings and phrasings. Use relative date conditions like created in the last 12 months. Hard-coded dates do not move forward on retraining. The default incident categorization filter combines created in the last 12 months, active is false and state is Resolved or Closed.
Set language, stopwords and frequency
Processing Language should name the dominant language of the dataset. English processing is applied to all datasets by default, so a non-English choice is added on top of English. Choosing a language also adds that language’s default stopwords list, and the default English list stays selected.
Training Frequency runs from Run once to Every 180 days. Run once is the default and leaves time to review. A scheduled retrain suits a settled definition, because data ages and accuracy can slip. Classification training requires at least 10,000 records. Classes with fewer than 30 training records are dropped, and the Solution Statistics section lists them.
Use Save & Train or Submit & Train, then confirm on the Training Activation window.
Tune precision and coverage
A trained solution starts with the highest precision and coverage pair available for each class. To change it, open All > Predictive Intelligence > Classification > Solutions, choose a solution whose state is Solution Complete, and open the class from the Class Confidence list. Tick one row in Precision Coverage Lookups, choose Apply Values from the Actions on selected rows menu, then confirm with OK.
Two pairs act as switches. Precision 100 with coverage 0 removes the class from predictions, and precision 0 with coverage 100 forces it in. A class predicts only when its confidence meets the threshold that class requires, so a value returned by the API can still be missing on a record. A class is also absent from Class Confidence when the filter has too few examples of it, so widen the filter and retrain. If results still look wrong after tuning, see troubleshooting Predictive Intelligence.
Create a custom stopwords list
Stopwords are words the system ignores during training and prediction, such as common function words and recurring company names. Each supported language ships with default lists, and a custom list works alongside them.
Go to All > Predictive Intelligence > Stopwords and select New. Enter a unique Name that identifies the organisation and the language. Pick the Stopwords Language, type the words in the Stopwords List separated by commas, and select Submit. To change the list later, open it, add or remove words, and select Update. Assign the list through the Stopwords field on a classification, similarity, clustering or regression definition.
Supported languages in the Australia release are Brazilian Portuguese, Chinese (simplified), Danish, Dutch, English, Finnish, French, French Canadian, German, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Spanish and Swedish.
| Setting | Where it lives | What it controls |
|---|---|---|
| Stopwords Language | Stopwords form | The language the list applies to |
| Stopwords List | Stopwords form | Comma-separated words to ignore |
| Stopwords field | Solution definition | Which list a solution uses |
| Processing Language | Solution definition | Language steps applied to training data |
Word corpora in the Australia release
A word corpus is a vocabulary the system uses to compare records by their text. In the Australia release, similarity and clustering use pre-trained Workflow solutions, so new solutions do not need one. An existing solution with a corpus becomes a Workflow solution when it retrains.
Open All > Predictive Intelligence > Word Corpus and select New. Save the record, then add content components under Word Corpus Contents. Each component names a table, a filter, the fields to read and a domain. Add a second component under Word Corpus Details for the records you want to compare against. Corpus tables are capped at 300,000 records for similarity and clustering.
Activate and roll back solution versions
Each training run creates a solution version, and the newest one is activated after training. You can activate an earlier version to roll back. One version is active at a time, and it is the only one used for predictions.
Open the solution type under All > Predictive Intelligence, such as Classification > Solutions or Similarity > Solutions, find the row in the ML Solutions list, open it and select Activate. You need the admin or ml_admin role, and the solution must have been trained more than once or set to retrain on a schedule.
Move trained solutions to production
Refine solutions on a non-production instance first, holding recently cloned production data so they stay valid. Export uses update sets. Open the trained definition under Solution Definitions, select Add solutions to the current update set in Related Links, and select Update. The update set carries the definitions, template records and statistics. For the wider rollout view, see the Predictive Intelligence governance model.
Update sets match records by system ID, not version number. If a moved solution behaves unexpectedly, retrain it on the target instance, which takes about five minutes per solution. After exporting a similarity solution, select Refresh similarity window on its ML Solution Definition form.
Cloning needs care too. ML artifacts are stored as attachments, so a clone that omits the ml_artifacts table breaks existing predictions. The sharedservice.worker user must stay active with a user ID.
Review the platform properties
Properties live under Predictive Intelligence > Configuration and are reviewed with the maint role. The documented defaults are below.
| Property | Property name | Default |
|---|---|---|
| Minimum classification records | glide.platform_ml.api.csv_min_line | 10000 |
| Maximum classification records | glide.platform_ml.api.csv_max_line | 300000 |
| Maximum records per corpus table | glide.platform_ml.api.max_wordcorpus_records | 300000 |
| Maximum clustering records | glide.platform_ml.api.max_clustering_records | 100000 |
| Maximum similarity window records | glide.platform_ml.api.max_similarity_window_records | 100000 |
| Maximum days per request | glide.platform_ml.api.csv_split_days | 30 |
| Training timeout in milliseconds | glide.platform_ml.training_timeout | 21600000 |
The scheduler also caps new training requests at 50 per instance in a 24-hour window, and scheduled retraining, clustering and similarity updates sit outside that cap.
Run the quick start tests after changes
The quick start tests confirm Predictive Intelligence still works after an upgrade or application change. They need the com.glide.platform_ml plugin active, and the upgrade tests use a basic authorization profile named ml_atf whose user holds the ml_admin role. Adjust them to your own data before relying on them. For a structured check, see the Predictive Intelligence testing and acceptance checklist.
Use database views as input
A database view joins two or more tables so a solution can read fields from all of them. Create the view first, then select it in the definition. For similarity, each table in the view needs at least 10,000 records by default.
Frequently asked questions
How many records should a classification solution train on?
The minimum is 10,000 records under the default property. The recommended range is 30,000 to 300,000, and when a filter returns more, the newest 300,000 are used.
Why is a class missing from my trained solution?
Classes with fewer than 30 training records are excluded, and Solution Statistics lists them. A class is also absent from Class Confidence when the filter lacks examples of it. Widen the filter and retrain.
Does a custom stopwords list replace the defaults?
No. It works alongside the default list for the same language, and you assign it through the Stopwords field on the definition.
Can I go back to an earlier solution version?
Yes. Open the earlier version from the solutions list and select Activate. Activating it deactivates the newer version, and predictions then use the one you chose.
Why does a prediction not show on a record even though the API returns a value?
The prediction’s confidence is probably below the threshold the class requires. Check the class page for its estimated precision and coverage, then tune the class and test again.