Artificial Intelligence - How to predict whether or not the user will make purchase while shopping online?

When users are shopping online, not all will end up purchasing something. Most visitors to an online shopping website, in fact, likely don’t end up going through with a purchase during that web browsing session. It might be useful, though, for a shopping website to be able to predict whether a user intends to make a purchase or not: perhaps displaying different content to the user, like showing the user a discount offer if the website believes the user isn’t planning to complete the purchase. How could a website determine a user’s purchasing intent? That’s where machine learning will come in.

I've built a nearest-neighbor classifier to solve this problem. From the given information about a user, how many pages they’ve visited, whether they’re shopping on a weekend, what web browser they’re using, etc. , the classifier will predict whether or not the user will make a purchase.

Source code of the project demonstration is given below : https://github.com/diesel707/Knights/tree/shopping




Comments

Popular

Artificial Intelligence - How to implement Nim game using Python?