Skip to content

A machine learning project using linear regression to predict yearly customer spending based on e-commerce behavioral data. Built with Python, scikit-learn, and Jupyter Notebook.

License

Notifications You must be signed in to change notification settings

mani-shika/ecommerce-ml-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

E-commerce Customer Spending Prediction using Linear Regression

A machine learning project that predicts yearly customer spending using linear regression on an e-commerce dataset.

πŸ“Š Project Overview

This project implements a linear regression model to predict the yearly amount spent by customers based on various features from an e-commerce dataset. The model helps businesses understand customer spending patterns and make data-driven decisions for marketing and sales strategies.

πŸ“ˆ Dataset

The project uses an E-commerce Customer Dataset containing customer information and their spending patterns. Features

Avg. Session Length: Average session duration on the website/app Time on App: Time spent on the mobile application Time on Website: Time spent on the website Length of Membership: How long the customer has been a member Yearly Amount Spent: Target variable - total yearly spending (to be predicted)

πŸ› οΈ Technologies Used

Python 3.x Jupyter Notebook Pandas - Data manipulation and analysis NumPy - Numerical computations Matplotlib - Data visualization Seaborn - Statistical data visualization Scikit-learn - Machine learning library

πŸ“Š Model Performance

The linear regression model achieves:

RΒ² Score: 103.9155413650325 Mean Absolute Error (MAE): 8.426091641432068 Root Mean Square Error (RMSE): 10.193897260863114

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Fork the project Create your feature branch Commit your changes Push to the branch Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A machine learning project using linear regression to predict yearly customer spending based on e-commerce behavioral data. Built with Python, scikit-learn, and Jupyter Notebook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published