Skip to content

Instantly share code, notes, and snippets.

algorithm recommender_algorithm_ALS is
input: my_ratings.txt
output: recommendations.txt
// 1. Load & Parse Data
my_ratings = rdd(parse(path/to/my_ratings))
ratings = rdd(parse(path/to/small-ratings.csv))
movies = rdd(parse(path/to/small-movies.csv))
@sarmadsaleem
sarmadsaleem / index.html
Last active April 2, 2018 22:24
HTML Boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title></title>
<meta name="description" content="">
<meta name="subject" content="">
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
tap "adoptopenjdk/openjdk"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "homebrew/services"
brew "python"
brew "awscli"
brew "git"
brew "go"