Menu

Testing the Recommendation System

Testing the Recommendation System

After building the recommendation function, it is important to test it using a known movie title to verify that it works as expected.

Code:

recommend_movie_knn("Toy Story")

The output confirms that the system recommends animated and family-oriented movies with similar genres and good ratings. This validates both the similarity logic and the hybrid scoring approach.