This Streamlit app analyzes bike sharing data to uncover usage patterns and predict demand. It provides insights into bike rental trends and allows users to make predictions based on various factors.
- 📊 Data Exploration: View and explore the bike sharing dataset
- 📈 Usage Patterns: Analyze bike usage patterns based on various factors
- 🔮 Prediction: Predict bike rental demand using a Gradient Boosting model
-
Clone this repository:
git clone https://github.com/kachiann/Bike_sharing_streamlit.git cd Bike_sharing_streamlit
-
Install the required packages:
pip install -r requirements.txt
Run the Streamlit app:
streamlit run Bike_sharing_app.py
The app will open in your default web browser.
The app uses the Bike Sharing Dataset from the UCI Machine Learning Repository. Ensure you have the hour.csv
file in the same directory as the app.
- Overview of the app and its features
- View summary statistics of bike rentals
- Explore the dataset structure and basic information
- Visualize hourly, daily, and monthly usage patterns
- Analyze the impact of weather on bike rentals
- Input various factors to predict bike rental demand
- View feature importance in the prediction model
The app uses a Gradient Boosting Regressor to predict bike rental demand. The model is trained on historical data and considers factors such as:
- Season
- Month
- Hour
- Holiday
- Weekday
- Working day
- Weather situation
- Temperature
- Humidity
- Wind speed