Coder Social home page Coder Social logo

sukhijapiyush / linear-regression-bike-share Goto Github PK

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

Multivariate Linear regression model on bike sharing dataset to find significant features

License: GNU General Public License v3.0

Jupyter Notebook 100.00%
data-science data-visualization git github jupyter jupyter-notebook matplotlib pandas pandas-dataframe python seaborn visualization crisp-dm data-analysis data-visualisation scikit-learn sklearn

linear-regression-bike-share's Introduction

Linear Regression on Bike Share Scenerio

Linear Regression model applied using statsmodels library on Bike sharing Dataset to predict the number of bike rented in a day and find important features of the data.

Table of Contents

General Information

Business Problem

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.

In such an attempt, BoomBikes aspires to understand the demand for shared bikes among the people after this ongoing quarantine situation ends across the nation due to Covid-19. They have planned this to prepare themselves to cater to the people's needs once the situation gets better all around and stand out from other service providers and make huge profits.

Goal of the Project

  • Which variables are significant in predicting the demand for shared bikes.
  • How well those variables describe the bike demands

Dataset information

Dataset taken from Paper "Event labeling combining ensemble detectors and background knowledge", Progress in Artificial Intelligence (2013): pp. 1-15, Springer Berlin Heidelberg, doi:10.1007/s13748-013-0040-3.

Conclusions(Business Recomendation)

  • The bikes rented will be more with each passing year.
  • The bikes rented are more in summer and winter season thus hosting events or advertisements will be beneficial.
  • Month of August and October are the best months to rent bikes as they see most increase in bikes rented.
  • Month of Jan is not the best month to rent bikes as it sees decrease in bikes rented.
  • Days with low windspeed also see increase in bikes rented and are good opportunities for business.
  • The bikes rented are decreased in rainy and cloudy weather.

Result

We achieved the following results:

  • Test Accuracy: 0.795
  • RMSE : 0.0986
  • Mean Absolute Error : 0.0746
  • Durbin-Watson value : 1.9896

Technologies Used

  • Pandas - version 1.3.4
  • NumPy - version 1.20.3
  • MatplotLib - version 3.4.3
  • Seaborn - version 0.11.2
  • Scikit-Learn - version 0.24.2
  • StatsModels - version 0.12.2

Acknowledgements

This project was inspired by UpGrad IITB Programme as a case study for the Machine Learning and Artificial Intelligence course.

Thanks to Fanaee-T, Hadi and Gama, Joao for the sharing the dataset with the world.

Contact

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

License

This project is open source and available without restrictions.

linear-regression-bike-share's People

Contributors

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