This code can be trained on any set of images, to classify between any number of objects. I am training model to classify between cat and dog. Code uses TensorFlow library. I used Spyder IDE, dataset.zip contains test set and training set. Code and dataset can be downloaded by opening drive folder.
Model is trained to read review and tell whether the customer liked food or not. Code uses nltk and re library. I used Spyder IDE. Test set and Training set are generated from Restaurant_Reviews.tsv file. Code and dataset can be downloaded by opening drive folder.