Evaluating a Model
Evaluate the model after training. Typically, you cannot obtain a satisfactory model after the first evaluation, and may need to repeatedly adjust algorithm parameters and data to further optimize the model.
Some common metrics, such as precision, recall rate, and F1 score, help you evaluate and obtain a satisfactory model.
Prerequisites
You have created an application using the general text classification workflow and trained a model on the NLP Suite console. For details, see Training a Model.
Overall Evaluation
On the Application Development > Evaluate Model page, you can comprehensively evaluate the model of the current version.
On the left of the Overall Evaluation area display the version, number of labels, and number of test sets of the current model.
On the right of the Overall Evaluation area display evaluation parameter values of the current model, such as precision, recall rate, and F1 score. You can click
in the upper part of the page to select an evaluation scope and click
to add a version for comparison.
Detailed Evaluation
On the Application Development > Evaluate Model page, you can search for and view the model prediction result for a test set.
You can search for a label in the search box on the left of the Detailed Evaluation area. On the right display correct and predicted labels of the sample corresponding to the correct label. You can compare the correct label and predicted label to determine whether the sample prediction of the current model is correct.
For example, if you enter label 1 in the search box, the ratio of correct samples in the test set will be displayed. On the right display the information about the sample whose correct label is 1, such as the correct label and predicted label of the sample.
Follow-up Operations
After the overall and detailed evaluation of the model of the current version, if the model needs to be further optimized based on service requirements, click Previous to return to the model training step. For details, see Training a Model.
If the model meets service requirements, click Deploy to go to step Deploy Service. For details, see Deploying an Application.
Last Article: Training a Model
Next Article: Deploying an Application
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.