From the course: AI Projects with Python, TensorFlow, and NLTK

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Creating the modal

Creating the modal

- [Instructor] Welcome back. In this chapter, we'll be looking at how we can build a recommendation system with Python. So first, let's start off by looking at what modules we'll need in order to create our recommendation system. First, we need the Numpy and Pandas libraries in order to carry out data manipulation. Then we also need the sklearn.neighbors library, which will provide us with the nearest neighbor's algorithm, which we'll use for our primary recommendations. We also use SciPy in order to create a user item matrix that we'll get onto in just a second. Then moving on, we first of all start off by loading in the data. This data has already been provided to you on GitHub Code Spaces, as you can see in the movies.csv files and the ratings.csv file right over here. Now let's move on to the next bit. We first create a user item matrix. Now, this will help us start creating the baseline of our model and this will be used in order to create the actual recommendations in itself. So…

Contents