Back to Search Start Over

Suggestion and invention of recipes using bi-directional LSTMs-based frameworks

Authors :
Sai Nikhil Rao Gona
Himamsu Marellapudi
Source :
SN Applied Sciences, Vol 3, Iss 5, Pp 1-17 (2021)
Publication Year :
2021
Publisher :
Springer, 2021.

Abstract

Abstract Choosing which recipe to eat and which recipe to avoid isn’t that simple for anyone. It takes strenuous efforts and a lot of time for people to calculate the number of calories and P.H level of the dish. In this paper, we propose an ensemble neural network architecture that suggests recipes based on the taste of the person, P.H level and calorie content of the recipes. We also propose a bi-directional LSTMs-based variational autoencoder for generating new recipes. We have ensembled three bi-directional LSTM-based recurrent neural networks which can classify the recipes based on the taste of the person, P.H level of the recipe and calorie content of the recipe. The proposed model also predicts the taste ratings of the recipes for which we proposed a custom loss function which gave better results than the standard loss functions and the model also predicts the calorie content of the recipes. The bi-directional LSTMs-based variational autoencoder after being trained with the recipes which are fit for the person generates new recipes from the existing recipes. After training and testing the recurrent neural networks and the variational autoencoder, we have tested the model with 20 new recipes and got overwhelming results in the experimentation, the variational autoencoders generated a couple of new recipes, which are healthy to the specific person and will be liked by the specific person.

Details

Language :
English
ISSN :
25233963 and 25233971
Volume :
3
Issue :
5
Database :
Directory of Open Access Journals
Journal :
SN Applied Sciences
Publication Type :
Academic Journal
Accession number :
edsdoj.210f6dcb6134fe8be752ee175d11a47
Document Type :
article
Full Text :
https://doi.org/10.1007/s42452-021-04548-x