Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Steve Martinelli edited this page Mar 6, 2018 · 6 revisions

Short Name

Generate restaurant reviews with deep learning

Short Description

Use Tensorflow and Keras to generate text for restaurant reviews

Offering Type

Cognitive & Data Analytics

Introduction

We'll create a Visual Recognition custom classifier to identify issues with automobiles, such as a flat tire, broken window, or vandalism, and a server that will use this classifier given an uploaded image. We'll also create a mobile app that takes a picture of an automobile problem to sent to a server for classification.

In this code pattern we'll be training a deep learning language model in a notebook using Keras and Tensorflow. We will guide the reader through downloading data, installing Tensorflow and Keras, training a deep learning language model, and finally generating new restaurant reviews.

Author

Code

Overview

In this developer code pattern, we will train a deep learning language model in a notebook using Keras and Tensorflow. This initial training set is from a data set about Yelp reviews found on Kaggle. After installing the prerequisites and running the notebook, a user is able to see generated restaurant reviews based on the ones in our initial training set. This code pattern was created for data scientists and data lovers who are interested in deep learning and fraud detection and/or those who are new to Deep Learning, Tensorflow, or Keras.

When the reader has completed this Code Pattern, they will understand how to:

  • Install and use Keras and Tensorflow.
  • Run a Jupyter Notebook.
  • Create a Recurrent Neural Network (RNN) language model.

Flow

  1. After installing the prequisites, Keras and Tensorflow, the user executes the notebook.
  2. The training data is used to train a language model.
  3. New text is generated based on the model and returned to the user.

Included Components

  • Jupyter Notebook: An open source web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text.
  • Keras: The Python Deep Learning library.
  • Tensorflow: An open-source software library for Machine Intelligence.

Featured technologies

  • Data Science: Systems and scientific methods to analyze structured and unstructured data in order to extract knowledge and insights.
  • Python: Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Blog

Links