Giter VIP home page Giter VIP logo

bike_share's Introduction

Kaggle Bike Share Project

This project attempts to answer the question posed by the Kaggle Bike Share question.

Viewing the html Report

Clone the repo and save all files and directories in src/Rhtml/ to a place on your machine and open bike_share_report.html in a browser (make sure the figure and static folders are in the same directory as the .html file).

The input data can be found in data/input

  • test.csv The test dataset
  • train.csv The train dataset

The output data (predicted values) can be found in data/output

  • predicted values for all models
  • random_forest_counts.csv contains the random forest regression predicted counts in the proper submission format

Re-Generate html report

An Rhtml scipt src/Rhtml/bike_share_report.Rhtml can be run using RStudio and knitr. The R dependencies can be found in src/R/includes.R - please make sure you install these packages before running the Rhtml script.

Re-run the python script

Python dependencies include having Python3 installed and the following packages installed:

  • scikit-learn
  • numpy
  • pandas
  • statsmodels

Make sure necessary execute permissions have been added to the python script src/python/machine_learning_algorithm.py. From the root directory bike_share,

cd src/python/
python3 ./machine_learning_algorithm.py

This will run the following models:

  • Linear Regression
  • Poisson Regression
  • Lasso Regression
  • Ridge Regression
  • Random Forest Regression

Note that you can change the constant values in that file to test models with different arguments and features.

bike_share's People

Watchers

Diane Losardo 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.