Coder Social home page Coder Social logo

kbjornson / multiple-regression-sales-volume Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.09 MB

Predicting sales volume for different product types using multiple regression and analyzing the impact customer reviews have on sales.

R 100.00%
r rstudio multiple-regression data-science machine-learning data-analytics sales-volume gradient-boosting-regressor random-forest-regressor svm-regressor

multiple-regression-sales-volume's Introduction

multiple-regression-sales-volume

Predicting sales volume for different product types using multiple regression, and analyzing the impact customer reviews have on sales.

Given historical sales data, the goal is to make sales volume predictions for a list of new product types. The client is most interested in sales volume of four product types - PCs, Laptops, Netbooks, and Smartphones - but we will be analyzing other types as well.

The given data includes the following information:

  • "ProductType" - which names the product type for each product
  • "ProductNum" - an integer that indicates the product ID number
  • "x5StarReviews", "x4StarReviews", etc - an integer indicating the number of 5 star reviews, 4 star reviews, 3 star, 2 star, and 1 star reviews
  • "PositiveServiceReview" - an integer indicating the number of positive service reviews a product has recieved
  • "NegativeServiceReview" - and integer indicating the number of negative service reviews a product has recieved
  • "RecommendProduct" - a number on a scale from 0 to 1 indicating whether customers would recommend the product
  • "BestSellersRank" - a number indicating what a product's best seller rank is -- not all products are included in the best seller category, so there are NA values
  • "ShippingWeight" - indicating a product's shipping weight
  • "ProductDepth" - indicating a product's measured depth
  • "ProductWidth" - indicating a product's measured width
  • "ProductHeight" - indicating a product's measured height
  • "ProfitMargin" - indicating the profit margin for that product
  • "Volume" - indicating the sales volume for a given product

Three different regression models were tested - SVM, Random Forest, and Gradient boosting. Unfortunately, the models overfit the data due to the small sample size and outliers in the data. A gradient boosting model that showed the best results was used to make predictions on the new dataset. Detailed results can be viewed in the "C3T3 Report.docx" file, as well as the "newproductspreds.csv" file.

multiple-regression-sales-volume's People

Contributors

kbjornson 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.