Building Recommendation Engines with PySpark
Learn tools and techniques to leverage your own big data to facilitate positive experiences for your users.
Commencer Le Cours Gratuitement4 heures15 vidéos56 exercices12 213 apprenantsDéclaration de réalisation
Créez votre compte gratuit
ou
En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.Formation de 2 personnes ou plus ?
Essayer DataCamp for BusinessApprécié par les apprenants de milliers d'entreprises
Description du cours
This course will show you how to build recommendation engines using Alternating Least Squares in PySpark. Using the popular MovieLens dataset and the Million Songs dataset, this course will take you step by step through the intuition of the Alternating Least Squares algorithm as well as the code to train, test and implement ALS models on various types of customer data.
Formation de 2 personnes ou plus ?
Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.Dans les titres suivants
Big Data avec PySpark
Aller à la piste- 1
Recommendations Are Everywhere
GratuitThis chapter will show you how powerful recommendations engines can be, and provide important distinctions between collaborative-filtering engines and content-based engines as well as the different types of implicit and explicit data that recommendation engines can use. You will also learn a very powerful way to uncover hidden features (latent features) that you may not even know exist in customer datasets.
Why learn how to build recommendation engines?50 xpSee the power of a recommendation engine100 xpPower of recommendation engines50 xpRecommendation engine types and data types50 xpCollaborative vs content-based filtering50 xpCollaborative vs content based filtering part II50 xpImplicit vs explicit data100 xpRatings data types100 xpUses for recommendation engines50 xpAlternate uses of recommendation engines.50 xpConfirm understanding of latent features100 xp - 2
How does ALS work?
In this chapter you will review basic concepts of matrix multiplication and matrix factorization, and dive into how the Alternating Least Squares algorithm works and what arguments and hyperparameters it uses to return the best recommendations possible. You will also learn important techniques for properly preparing your data for ALS in Spark.
Overview of matrix multiplication50 xpMatrix multiplication100 xpMatrix multiplication part II100 xpOverview of matrix factorization50 xpMatrix factorization100 xpNon-negative matrix factorization100 xpHow ALS alternates to generate predictions50 xpEstimating recommendations100 xpRMSE as ALS alternates100 xpData preparation for Spark ALS50 xpCorrect format and distinct users100 xpAssigning integer id's to movies100 xpALS parameters and hyperparameters50 xpBuild out an ALS model100 xpBuild RMSE evaluator100 xpGet RMSE100 xp - 3
Recommending Movies
In this chapter you will be introduced to the MovieLens dataset. You will walk through how to assess it's use for ALS, build out a full cross-validated ALS model on it, and learn how to evaluate it's performance. This will be the foundation for all subsequent ALS models you build using Pyspark.
Introduction to the MovieLens dataset50 xpViewing the MovieLens Data100 xpCalculate sparsity100 xpThe GroupBy and Filter methods100 xpMovieLens Summary Statistics100 xpView Schema100 xpALS model buildout on MovieLens Data50 xpCreate test/train splits and build your ALS model100 xpTell Spark how to tune your ALS model100 xpBuild your cross validation pipeline100 xpBest Model and Best Model Parameters100 xpModel Performance Evaluation50 xpGenerate predictions and calculate RMSE100 xpInterpreting the RMSE50 xpDo recommendations make sense100 xp - 4
What if you don't have customer ratings?
In most real-life situations, you won't not have "perfect" customer data available to build an ALS model. This chapter will teach you how to use your customer behavior data to "infer" customer ratings and use those inferred ratings to build an ALS recommendation engine. Using the Million Songs Dataset as well as another version of the MovieLens dataset, this chapter will show you how to use the data available to you to build a recommendation engine using ALS and evaluate it's performance.
Introduction to the Million Songs Dataset50 xpConfirm understanding of implicit rating concepts50 xpMSD summary statistics100 xpGrouped summary statistics100 xpAdd zeros100 xpEvaluating implicit ratings models50 xpSpecify ALS hyperparameters100 xpBuild implicit models100 xpRunning a cross-validated implicit ALS model100 xpExtracting parameters100 xpOverview of binary, implicit ratings50 xpBinary model performance100 xpRecommendations from binary data100 xpCourse recap50 xp
Formation de 2 personnes ou plus ?
Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.Dans les titres suivants
Big Data avec PySpark
Aller à la pistecollaborateurs
Jamen Long
Voir PlusData Scientist
Qu’est-ce que les autres apprenants ont à dire ?
Inscrivez-vous 15 millions d’apprenants et commencer Building Recommendation Engines with PySpark Aujourd’hui!
Créez votre compte gratuit
ou
En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.