launch a cluster on EC2 in about 5 minutes • Standalone Deploy Mode: ◦ launch a standalone cluster quickly without a third-party cluster manager • Mesos: ◦ deploy a private cluster using Apache Mesos • YARN: ◦ deploy Spark on top of Hadoop NextGen (YARN)
1. Initialize the center of the clusters 2. Attribute the closest cluster to each data point 3. Set the position of each cluster to the mean of all data points belonging to that cluster 4. Repeat steps 2-3 until convergence Create k points for starting centroids (often randomly) While any point has changed cluster assignment for every point in the dataset: for every centroid calculate distance between centroid and point assign point to the cluster with the lowest distance for every cluster calculate mean of points in that cluster assign the centroid to the mean
Stemming • TF-IDF • Naive Bayes • Random Forest Regression • Gradient Boosted Trees Regression • Code repository: https://github.com/joebluems/Mockingbird/issues Is Harper Lee’s Go Set a Watchman a discarded rough draft that was to become the universally beloved classic To Kill A Mockingbird, or was it a truly separate work?
Airbnb. The team actually built something called Airstream, which is a computational framework that sits on top of Spark Streaming and Spark SQL, allowing engineers and the data team to get quick insights. Ultimately, for an organization that depends on predictions and machine learning, something like Spark - alongside other open source machine learning libraries - is crucial in the Airbnb stack. Source: https://www.packtpub.com/books/content/what-software-stack-does-airbnb-use