in this examplewe're going to set to find the nearest neighbors we will find the nearest neighbors using hfu/fjhicpst and then we will iterate through all these nearest neighbors and compute the average rating from each neighbor that average rating will inform us of our rating prediction for the movie in question as side effectwe also get the nearest neighbors based on our distance functionwhich we could call similar movies sothat information itself is useful going back to that "customers who watched also watchedexampleif you wanted to do similar feature that was just based on this distance metric and not actual behavior datathis might be reasonable place to startrightjnqpsupqfsbups efghfu/fjhicpst npwjf*%ejtubodft gpsnpwjfjonpwjf%jdu jg npwjfnpwjf*ejtu $pnqvuf%jtubodf npwjf%jdunpwjf%jdu ejtubodftbqqfoe npwjfejtu ejtubodfttpsu lfz pqfsbupsjufnhfuufs ofjhicpst gpsyjosbohf ofjhicpstbqqfoe ejtubodft sfuvsoofjhicpst bwh bujoh ofjhicpst hfu/fjhicpst gpsofjhicpsjoofjhicpst bwh bujoh npwjf%jdu qsjounpwjf%jdu tus npwjf%jdu bwh bujohgmpbu