## Create NLC Classifier

A full set of instructions and code for accomlishing the following is provided in the Python Jupyter notebook which is included in the source code folder of the repository.

Run the  Jupyter Notebook and follow the included instructions in the notebook.

A summary of the notebook  steps is as follows:

Step 0: Preliminary
*  Log in to your IBM Cloud account
*  Select Natural Language Classifier (NLC) from the Catalog
*  Create an NLC service instance
*  <strong>Obtain and record the APIkey and URL service credentials</strong>

Step 1: Training 

*  Set the APIKey, URL, training data, and metadata parameters in the notebook
*  Run the notebook up to and including  the training cell
*  <strong>Note the classifier id</strong>

Step 2: Status Check
*  Periodically check for training completion by running the status cell

Step 3: Calling the Classifier
*  Once the classifier status turns to ready you can  run the next cell to test  the classifier 

<strong>The APIKey, URL, and ClassfierID will be used in the  AWS Lambda function!</strong>

[![return](../buttons/return.png)](../README.md#Step-1-Create-NLC-Classifier)
