Skip to content

This repository contains a Python script implementing Gaussian Naive Bayes classification to predict social media campaign purchases based on user demographics. The script also provides an interactive prediction for a new user based on user input.

Notifications You must be signed in to change notification settings

tremick/social-media-purchase-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

social-media-purchase-predictor

This repository contains a Python script implementing Gaussian Naive Bayes classification to predict social media campaign purchases based on user demographics. The script also provides an interactive prediction for a new user based on user input.

Social Media Purchase Predictor

Overview

This repository demonstrates the use of Gaussian Naive Bayes classification to predict social media campaign purchases based on user demographics. The script includes model training, evaluation, and an interactive prediction feature for new user input.

Data

The dataset used for training is located in the Resources folder: whoBoughtSocialMediaCampaign.csv. It includes features such as age, salary, and gender.

Usage

  1. Run the script: GAUSSIAN ALGORITHIM.ipynb
  2. Enter the user's age, salary, and gender when prompted.
  3. The script will provide a prediction on whether the user is likely to make a purchase

Dependencies

  • pandas
  • scikit-learn
  • seaborn

About

This repository contains a Python script implementing Gaussian Naive Bayes classification to predict social media campaign purchases based on user demographics. The script also provides an interactive prediction for a new user based on user input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published