Git Product home page Git Product logo

store_products's Introduction

store_products

Bot logo

🍨 🍟 Roventure Works Cycler

πŸ€– This project is showing the classification model tests and compared their accuracy with confusion matrices. Besides, the regression model was used for revenue prediction by each category of products.

πŸ“ Table of Contents

🧐 About

Roventure is a store selling sports items. However, it involved some loss due to overstock, and the store doesn’t know how to adjust the sales price to reduce the overstock items. To control the inventory, reduce the overstock issues, and keep the competitive pricing. I need to use the regression model to predict the price based on the parameters: selling quantities, return items, cost, and the categories.

Working

Prerequisites

Power BI, SQL, Python or Jupyter Notebook

πŸ’­ Product Details

Used Power BI to connect each table for monthly details:

image

image

image

🎈 SQL-->Join tables

Used SQL to join tables and get the cost and revenue by aggregation for 2017 sales:

image

image

image

image

✨ Accuracy for Classification model

Read document from SQL table and checked the category:

image

image

image

Used 6 Classification models for accuracy test, and DT had the highest accuracy since there were 71 mistakes.

  1. Logistic Regression
  2. Decision Tree(DT)
  3. K neighbors classifier (KNN)
  4. Linear Discrininant Analysis (LDA)
  5. Gaussian Naive Bayes(GNB)
  6. SVC

image

image

image

image

πŸš€ Decision Tree Regression

Used DT Regression for revenue prediction:

a. Tested accuracy: the errors were very low, which meant the model was good. b. For model categores: 1--> Bikes 2--> Components (No sales in 2017οΌ‰ 3--> Clothing 4--> Accessories c. for example: if category is 3, qty is 2, cost is 4.5, price is 6.00, revenue would be 6.25 . shape(1,4)--> 1 observation and 4 features you need to input.

image

image

πŸŽ‰ Conclusion

In conclusion, it is very important to figure out the label and features in classification. Also, testing a model's accuracy is necessary before applying it to a model for prediction. This prediction can help set up the selling price for increasing revenue.

store_products's People

Contributors

yinghu1234 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.