Specifying a repository for text analytics models

Enable creating and storing text analytics models for your application by specifying a resilient repository for the model training data.

CAUTION:
If your application contains complete text analytics models, performing this procedure might result in data loss. Proceed only if you are a system architect.
Before you begin: Create a resilient repository for your text analytics models. For more information, switch to Dev Studio help and search for topics about creating a repository.

If your application contains complete text analytics models, minimize the risk of data loss by saving a copy of the models in your local directory. For more information, see Exporting text analytics models.

  1. In the navigation panel of Prediction Studio, click Settings > Prediction settings.
  2. In the Storage section, define a repository for text analytics training data:
    1. In the Text analytics repository field, press the Down arrow key.
    2. In the Text analytics repository list, select the repository name.
      Warning: Select a resilient repository, for example, an Amazon Web Services repository. To avoid data loss, do not use the defaultstore repository that is located under /tomcat/Work/Catalina/localhost/prweb/.
    Result: The training data for text analytics models is stored in the repository that you specified, in the nlpcontents/models folder. For example, nlpcontents/models/@baseclass/NLPSample/01-01-06/Int_1/trainingdata, where:
    • @baseclass is the class name.
    • NLPSample is the ruleset.
    • 01-01-06 is the ruleset version.
    • Int_1 is the model name.
    • trainingdata is the name of the folder that contains the training data for text analytics models.
  3. Optional: To include training data when you export text analytics models, perform one of the following actions:
    • To migrate text analytics models to production systems, clear the Include historical data source in text model export check box.
    • To migrate text analytics models to non-production systems, select the Include historical data source in text model export check box.
  4. In the Confirm repository change dialog box, click Submit.
  5. Click Save.
  6. If you saved a copy of the text analytics models in your application in the Before you begin section, upload the models to Prediction Studio.
    For more information, see Importing text analytics models.