Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.13 KB

File metadata and controls

23 lines (19 loc) · 1.13 KB

CNN-RNN-NLP

  • Built several Machine Learning models (NLP) and Neural Network models (CNN, RNN) to predict types of meals do people eat base on foods name
  • Built Feature Engineering methods to give data new feature.

Code and Resourced Used

Data Preprocessing

  1. Built function to remove all the words after ',' and '-' since most of they are food weight unit
  2. one-hot encoding for y (label)
  3. Combine food name and brand_name together, convert them to interger sequence string

string to int

Fit and Predict models

  1. NLP with XGboost classifier
  2. CNN(1d)
  3. RNN(1d)