Configure include only top N labels
Limit your classification model to use only the most common classes when training. You can specify the number of classes to use.
Before you begin
Role required: ml_admin or admin
About this task
Restricting the model to a fixed number of the most frequent labels improves focus and performance, especially with large datasets.
You can add this option in the solution definition form by using the following procedure. Alternatively, you can use a script to add this option.
To add this option using a script:
config.setTopNLabels(100);In JSON format:
{
"include_top_n_labels": 100
}
Procedure
Result
The setting appears as a row on the Advanced Solution Setting tab on your solution's form.
What to do next
Retrain your solution.