View a custom text analytics for health model's evaluation and details

After your model has finished training, you can view the model performance and see the extracted entities for the documents in the test set.

Note

Using the Automatically split the testing set from training data option may result in different model evaluation result every time you train a new model, as the test set is selected randomly from the data. To make sure that the evaluation is calculated on the same test set every time you train a model, make sure to use the Use a manual split of training and testing data option when starting a training job and define your Test documents when labeling data.

Prerequisites

Before viewing model evaluation, you need:

Model details

There are several metrics you can use to evaluate your mode. See the performance metrics article for more information on the model details described in this article.

  1. Go to your project page in Language Studio.

  2. Select Model performance from the menu on the left side of the screen.

  3. In this page you can only view the successfully trained models, F1 score for each model and model expiration date. You can select on the model name for more details about its performance.

Note

  • Entities that are neither labeled nor predicted in the test set will not be part of the displayed results.
  • In this tab you can view the model's details such as: F1 score, precision, recall, date and time for the training job, total training time and number of training and testing documents included in this training job.

    A screenshot that shows the overview page for model evaluation.

  • You'll also see guidance on how to improve the model. When clicking on view details a side panel will open to give more guidance on how to improve the model. In this example, BorrowerAddress and BorrowerName entities are confused with $none entity. Selecting the confused entities opens the data labeling page to label more data with the correct entity.

    A screenshot that shows the guidance page for model evaluation.

Load or export model data

To load your model data:

  1. Select any model in the model evaluation page.

  2. Select the Load model data button.

  3. Confirm that you do not have any unsaved changes you need to capture in window that appears, and select Load data.

  4. Wait until your model data finishes loading back into your project. On completion, you'll be redirected back to the Schema design page.

To export your model data:

  1. Select any model in the model evaluation page.

  2. Select the Export model data button. Wait for the JSON snapshot of your model to be downloaded locally.

Delete model

To delete your model from within the Language Studio:

  1. Select Model performance from the left side menu.

  2. Select the model name you want to delete and select Delete from the top menu.

  3. In the window that appears, select OK to delete the model.

Next steps