Lab Assignment 3 - ROHITHKUMARN/CS5542-Bigdata-LabAssignments GitHub Wiki

Name: Rohith Kumar Nagulapati, 16 Name: Nageswara Rao Nandigam, 17

1. Application built using Spark API

Objective: Application to demonstrate our own fuzzy classification results for various classification algorithms like Naïve Bayes, Decision Tree and Random Forest

Code snippet to show how to display fuzzy prediction results:

Decision Tree:

Code snippet to build Decision Tree model with the below parameters

Decision Tree Fuzzy Results

Naive Bayes:

Code snippet to build Naive Bayes model with the below parameters

Naive Bayes Fuzzy Results

Random Forest:

Code snippet to build Random Forest model with the below parameters

Random Forest Fuzzy Results

2.Application built using Clarifai API:

Objective: The objective of the application is to get fuzzy classification for the selected image using Clarifai API

Generated Clarifai API Key

Code snippet to get Predictions using Clarifai API

Clarifai API Results

Resources referred:

Class Tutorials

https://github.com/Clarifai/clarifai-android-starter