Data Analytics and Recommendation System Big data assignment using Spark - Scala and Machine learning Libraries.
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ALS.pdf
DecisionTree.scala
HW32016Recommend.pdf
NaiveBayes.scala
Output_PartA_Q2.txt
Output_PartB_Q3b.txt
Q1.txt
README.md
als.scala

README.md

##Please see the attached PDF for the Questions

##Prerequisites - Install Spark on your local machine

###Part A - Question 1:
Run file using following command - :load Q1.txt

###Part A - Question 2:
For this Question there are two files
1 - DecisionTree.scala
2 - NaiveBayes.scala

####Run the files by using following command

  • :load "FileName"
  • File1 - :load DecisionTree.scala
  • File2 - :load DecisionTree.scala

###Part B

  • Both the problems are solved in one file als.scala
  • Run file using following command - :load als.scala
  • Enter the user-id and item-id whenever prompt while running the program.