googleinterns / amaranth

Apache License 2.0
2 stars 0 forks source link

Create dish labeling pipeline #40

Closed tommylau-exe closed 4 years ago

tommylau-exe commented 4 years ago

There are multiple steps involved with labeling a dish in our ML model. All of them must be implemented in Javascript to get the same results as the Python ML model.

  1. Remove special characters from dish name
  2. Convert dish name to lowercase
  3. Split dish name on spaces
  4. Feed dish name into model
  5. Take softmax of outputs to get dish label