Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Frank Kane's Taming Big Data with Apache Spark and Python

You're reading from  Frank Kane's Taming Big Data with Apache Spark and Python

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787287945
Pages 296 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Frank Kane Frank Kane
Profile icon Frank Kane

Table of Contents (13) Chapters

Title Page
Credits
About the Author
www.PacktPub.com
Customer Feedback
Preface
Getting Started with Spark Spark Basics and Spark Examples Advanced Examples of Spark Programs Running Spark on a Cluster SparkSQL, DataFrames, and DataSets Other Spark Technologies and Libraries Where to Go From Here? – Learning More About Spark and Data Science

Creating similar movies from one million ratings – part 3


About 15 minutes after I set off our movie-similarities-1m script on a cluster using EMR, I have some actual results to look at. Let's review what happened.

Assessing the results

Here are the results:

The top similar movie to Star Wars Episode Four, was Star Wars Episode Five, not too surprising. But the next entry is a little bit surprising, some little movie called Sanjuro had a very high similarity score. Let's look at what's going on there. Its actual strength, the number of people that rated that together with Star Wars, was only 60, so I think it's safe to say that is kind of a spurious result. Now that we're using a million ratings, we probably need to increase that minimum threshold on the number of co-raters in order to actually display a result. By doing so, we could probably pretty easily filter out movies like that and instead get Raiders of the Lost Ark as our second result instead of as our third. I think the position...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}