Lab Assignment 9 CNN model for image classification && Google Conversation API Web Client - rashmitripathi/Big_Data_Analytics_And_Apps GitHub Wiki

1.Write a TensorFlow program for the following Task.

In machine learning, a convolutional neural network (CNN, or ConvNet) is a type of feed-forward artificial neural network in which the connectivity pattern between its neurons is inspired by the organization of the animal visual cortex. Individual cortical neurons respond to stimuli in a restricted region of space known as the receptive field. The receptive fields of different neurons partially overlap such that they tile the visual field. The response of an individual neuron to stimuli within its receptive field can be approximated mathematically by a convolution operation.Convolutional networks were inspired by biological processes and are variations of multilayer perceptrons designed to use minimal amounts of preprocessing.They have wide applications in image and video recognition, recommender systems and natural language processing.

a.Implement a CNN model for image classification for the datasets that you consider relevant to your project.

I have used dataset as shown in screenshot below from respective site

b.Report accuracy and time to build the CNN model.

Accuracy: 95.12%

Time to execute: 150888

Screenshot:

c.Visualizations (Tensor Board): training, loss, weights etc.

After deploying log files to tensorboard:

2.Develop a Web-based Application for Visual Question Answering that is relevant to your own project including the following features.Google Conversation APIb.Question answering for images.Connect it to Clarifai API or Spark API

Created RashmImageApp Aiistant at api.ai

Heroku deployment

On starting NPM ,start page and google conversation window:

Output:

Heroku Logs:

Clarifai API:

References:

https://github.com/tylerjroach/eventsource-android http://stackoverflow.com/questions/18903760/server-sent-events-in-android https://kaazing.com/doc/5.0/amqp_client_docs/apidoc/client/java/amqp/client/com/kaazing/net/sse/SseEventSourceFactory.html