Skip to content

hamdii02/Recommendation-with-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie recommendation Engine using Spark MLlib & Scala

Use MovieLens dataset to build a movie recommender engine using collaborative filtering with Spark's Alternating Least Saqures implementation.

The project is organized in two parts :

  1. Parsing movies & ratings data into Spark DataFrames
  2. Train , test and validate the model using MLlib and predict recommendations based on a personal ratings list of movies

Prerequisites

  1. Download MovieLens DataSet
  2. Move ratings.csv and movies.csv to src/main/resources/
scalaVersion := "2.11.4"

build.sbt

name := "RecommendationSystem"

version := "0.1"

scalaVersion := "2.11.4"

libraryDependencies ++= {
  val sparkVer = "2.1.0"
  Seq(
    "org.apache.spark" %% "spark-core" % sparkVer % "provided" withSources(),
    "org.apache.spark" %% "spark-sql" % sparkVer,
    "org.apache.spark" %% "spark-mllib" % "2.1.0"
  )
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published