/improved-cs50-purchase-predictor

An AI that predicts the likelihood of a user completing a purchase on an ecommerce website 🤖

Primary LanguagePythonMIT LicenseMIT

Improved CS50 Purchase Predictor

This is an enhanced implementation of the CS50 project, "Shopping".

What's Different?

The main difference is that this code uses the Random Forest algorithm, instead of K-Nearest-Neighbours.

Although using Random Forest is extremely slow in comparison, the accuracy of the prediction is much greater.

Example usage

  python3 shopping.py shopping.csv

Other Info

The original specification doc can be found here: https://cs50.harvard.edu/ai/2020/projects/4/shopping/