Skip to content

exploring multiple regression techniques to predict bike rental demand from weather data. simple linear regression on temperature - multivariate linear regression with all features - neural network model (shallow and deep). evaluating model performance via MSE

Notifications You must be signed in to change notification settings

Larb-YasmineBadrElhouda/Linear-Regression-VS-Neural-Networks-predictions-performance-comparaison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

in this notebook , i explored bike-sharing demand prediction using various regression models, including:

--------------------------------------------------------------------------------------------------------------------

  1. Simple Linear Regression using temperature as the only feature.
  2. Multiple Linear Regression using several meteorological and functional features.
  3. Neural Network Regression, both:
    • A shallow model (single dense layer),
    • A deep model (multiple hidden layers with ReLU activations).

--------------------------------------------------------------------------------------------------------------------

steps :

  1. Data Preparation:
  • Load and clean the Seoul Bike Sharing dataset.
  • Convert categorical variables to numeric.
  • Filter data to a specific hour (noon) for temporal consistency.
  • Drop weakly correlated or redundant features.
  1. Exploratory Data Analysis:
  • Scatter plots to visually inspect correlations between features and bike count.
  1. Models Development:
  • Implemented and trained models
  • Normalization
  • Loss function: Mean Squared Error (MSE).
  • Optimizer: Adam with learning rate adjustments.
  1. Evaluation & Visualization & Comparison:
  • Comparison between linear and deep models using test MSE.
  • Visualization of predicted vs. actual bike rentals.

--------------------------------------------------------------------------------------------------------------------

What was my Learning Objectives ? :

  • Trying to understand regression modeling workflows.
  • Apply data normalization and feature selection.
  • Evaluate trade-offs between simple models and more complex neural networks.

About

exploring multiple regression techniques to predict bike rental demand from weather data. simple linear regression on temperature - multivariate linear regression with all features - neural network model (shallow and deep). evaluating model performance via MSE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published