Skip to content

mansouremirzaei/Machine-Learning-Based-Recommendation-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Content-Based Car Recommendation System using K-Nearest Neighbors

This project is a simple content-based recommender system that suggests cars to a customer based on their preferences for features like mileage (mpg), displacement, horsepower, and weight.

πŸ” Goal

To recommend cars that are most similar to a given car using the K-Nearest Neighbors algorithm.

πŸ“Š Dataset

The dataset used is mtcars.csv, which contains specifications of various car models.

πŸ›  Features Used

  • Miles per Gallon (mpg)
  • Displacement
  • Horsepower
  • Weight

πŸ€– Algorithm

  • NearestNeighbors from scikit-learn
  • Finds the most similar cars using Euclidean distance between feature vectors.

πŸ“š Reference

This project is based on the following course: LinkedIn Learning - Building a Recommendation System with Python Machine Learning and AI

βœ… Output

The notebook predicts cars similar to a given input and prints the top 3 most similar cars as recommendations.


Feel free to explore and improve!

Releases

No releases published

Packages

No packages published