/ML

Primary LanguageJupyter Notebook

chart

Machine Learning Path

Nutrikita utilizing Tensorflow to develop it's two main feature, Food Reccomendation and Food Nutritions Detection

1. Food Reccomendation

Our food reccomendation utilizing content based filtering. We used dataset collected from kaggle.

image

2. Food Nutritient Recomendation

Dataset

The dataset for this feature are collected manually from google images. We collect 11 food category with the specific detail as below

Food Class Bread Bubur Cheese Daging Cincang Gambar agar agar Kentang Olahan Ikan Susu Telur Wortel Yogurt
Quantity 192 168 136 192 180 194 193 184 190 76 198

chart

The dataset example is shown like below :

distibution_per_class

We trained our model using 3 pretrained model : Resnet50, MobilenetV2, and InceptionV3. We train using 20 epochs and datasplit of 80 : 20.

Model Accuracy F1
MobileNetV2 0.907 0.907
InceptionV3 0.863 0.863
ResNet50 0.195 0.235

MobileNetV2 outperform other pretrained model with an amazing score of 0.907 for both accuracy and F1 score. So this is the model that we weill use to classify our model.

After we got the model trained, we then connect the output classified image into a database contain information about the food that is predicted. Then the output will be the information gathered from the database.