/nlp_assignment

Primary LanguageJupyter Notebook

Intent Classification Assignment

Dependencies:

  1. Python 3.6
  2. NumPy
  3. Pandas
  4. NLTK (+ "Punkt")
  5. Sklearn
  6. Jupyter

How to run

  1. Install all dependencies.
  2. Open Jupyter notebook using jupyter notebook in the folder where the files of this repository are located.
  3. Run each cell using Shift + Enter. Warning: There is one cell Titled "Hyperparameter Optimization" -- avoid running it for it will take a large time to execute.
  4. The last cell contains input_sentence replace it with your desired sentence and execute for getting the prediction.