Build your classifications

    1. Use the Natural Language Classifier toolkit to create your classifications:
      Train your classifier to recognize text patterns and classify them into intents and classes. For each intent, include at least 10 pieces of example text. Also, include at least 10 examples that fall outside of your classifier.For example, in the sample code, Sports & Recreation is classified. Examples for that classification are Tennis, Rugby, MotorRacing, and even NoSports.

      In this way, examples that fall outside of this scope will be classified with the highest level of confidence in the No… intent.


  1. Bind the classifier to your application. Find your application on the Bluemix dashboard and bind the newly trained classifier to your application.