Skip to content

KaneAI/Linear-Regression-Assignment

Repository files navigation

Linear Regression Assignment

Bike Sharing Analysis

Table of Contents

Problem Statement:

This is an academic excercise as part of my Upgrad MSc in Machine Learning & AI

A US bike-sharing provider BoomBikes has recently suffered considerable dips in their revenues due to the ongoing Corona pandemic. The company is finding it very difficult to sustain in the current market scenario. So, it has decided to come up with a mindful business plan to be able to accelerate its revenue as soon as the ongoing lockdown comes to an end, and the economy restores to a healthy state A bicycle BoomBikes want to understand the factors on which the demand for these shared bikes depends.

General Information

  • The client (BoomBikes) would like to know:
    • Which variables are significant in predicting the demand for shared bikes.
    • How well those variables describe the bike demands
  • The company intents to use the information provided to create a business plan for future years
  • The aims are:
    • To be prepared when consumers return after the Covid restrictions lift
    • To stand out in the bike sharing market
    • To increase profits
  • A csv dataset has been provided containing records for each day from 01/01/2018 to 31/12/2019

Conclusions

  • A linear model was created that could explain 84% of the variance of the total number of rentals each day using the observed features provided.
  • The following 3 features have the largest impact on the volume of rentals each day:
    • Temperature (0.5715)
    • Year (0.2448)
    • Humidity (-0.2166)
  • The dataset provided appears to have data quality issues in date and day related fields.
  • The final model appears to be succeptable to increased errors caused by outliers in the data despite efforts being taken to remove the outliers.

Technologies Used

  • Python - version 3.10.8
  • Pandas - version 1.5.2
  • Matplotlib - version 3.6.3
  • Seaborn - version 0.12.2
  • SciPY - version 1.10.1
  • Statsmodels - version 0.13.5

Acknowledgements

This work was conducted using the following resources:

Contact

Created by [@KaneAI] - feel free to contact me!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published