Updating training data for text analytics models
Increase the accuracy of your text analytics models by adding feedback data and providing additional training data.
Note: This procedure causes the system to retrain your model. Depending on the model
size, retraining the model might be a lengthy process.
Before you begin: Create a ruleset version on which you want to base your text
analytics model version. Select a ruleset version that is higher than the current model
version.
- In the navigation pane of Prediction Studio, click Models.
- For the model for which you want to edit the training data, click the More icon.
- In the More list, select Update, and then select the model language version.
-
In the Update language window, configure the settings for
the new model version:
- Select the Do you want to change version? check box.
- In the Ruleset version list, select a ruleset version on which you want to base your text analytics model version.
- Click Update.
-
Confirm the model configuration:
- For topic detection models, in the Taxonomy selection step, click Next.
- For intent and sentiment analysis models, in the Lexicon selection step, click Next.
-
In the Source selection step, update the training
data:
Choices Actions Add feedback data to the model - In the Feedback data section, select the Include recorded feedback check box.
- Click Next.
Make changes to the current training data - In the Existing data source section, download a file that contains the current training data by clicking its name.
- In your local directory, open the training data file, and then make the necessary changes.
- Save the training data file to your local directory.
- In Prediction Studio, in the Existing data source section, click Upload data source.
- In the Upload data source window, click Choose file, and then select the file that includes your edits.
- Select the Overwrite the existing data check box, and then click Upload.
- Optional: To add feedback data to the model, in the Feedback data section, select the Include recorded feedback check box.
- Click Next.
Add more training data to the model - In the Existing data source section, click Upload data source.
- In the Upload data source window, click Choose file, and then select a .csv file that contains the training data that you want to add.
- In the Upload data source window, select the Append to the existing data check box, and then click Upload.
- Optional: To add feedback data to the model, in the Feedback data section, select the Include recorded feedback check box.
- Click Next.
- In the Sample construction step, click Next.
-
In the Model creation step, click
Next.
Result: The system retrains the model based on the data that you provided.
- In the Analysis step, click Next.
- In the Model selection step, click Update language name.