Building Recommender Systems with Machine Learning and AI: Getting Started

Getting Started

Install Anaconda for Python 3.6 for your operating system from

Create an Environment. Open Anaconda Navigator, select “Environments,” and create a new “RecSys” environment for Python 3.6 or newer.

Install SurpriseLib
From the RecSys environment you just made, click the arrow next to it and select “Open Terminal.” In the terminal, run:

conda install -c conda-forge scikit-surprise

Hit ‘y’ to proceed if prompted.

Get the Course Materials at and unzip them. If you want a copy of the course slides, you can get them here.

Get the MovieLens Dataset at – unzip it, and place the resulting ml-latest-small folder inside your course materials folder.

Make some movie recommendations!

  • From Anaconda Navigator, make sure the RecSys environment is still selected, and click on Home.
  • Under spyder, hit the install button, and when it’s done, hit the launch button. Click “Allow access” if prompted.
  • Open the GettingStarted/ file from your course materials.
  • Click on the green “play” button to run the script, and you’ll see a summary of the movie ratings from a specific user – and our automatic recommendations for other movies he should see!

(We have discontinued our Facebook group due to abuse.)

Optional: Join Our List

Join our low-frequency mailing list to stay informed on new courses and promotions from Sundog Education. As a thank you, we’ll send you a free course on Deep Learning and Neural Networks with Python, and discounts on all of Sundog Education’s other courses!¬†Just click the button to get started.

Optional: Get the Companion Book

Building Recommender Systems bookThe complete transcript of the course (over 500 pages!) is available in print or e-book form. It’s a great companion to the course, and a reference you can keep forever.