This project analyzes SpaceX Falcon 9 rocket launches to predict first-stage landing success. Since SpaceX reuses first stages to reduce cost (e.g., $62M vs. $165M by others), predicting successful landings helps estimate launch costs and improve operational efficiency.
jupyter-labs-webscraping.ipynb: Scrapes Wikipedia usingBeautifulSoup.jupyter-labs-spacex-data-collection-api-v2.ipynb: Uses SpaceX REST API to collect launch data.
labs-jupyter-spacex-Data wrangling-v2.ipynb: Cleans and merges datasets.
jupyter-labs-eda-sql-coursera_sqllite.ipynb: SQL-based queries and insights.jupyter-labs-eda-dataviz-v2.ipynb: Visualizations using Seaborn and Matplotlib.
-
lab-jupyter-launch-site-location-v2.ipynb: Visualizes launch sites usingFolium.- Marker clustering
- Distance calculations
- Success/failure rates by site
-
SpaceX-Machine-Learning-Prediction-Part-5-v1.ipynb: Predictive modeling using:- Logistic Regression
- SVM
- KNN
- Decision Trees
- Hyperparameter tuning & evaluation
spacex_dash_app.py: Dash app to explore launch data interactively.
-
Clone the repository
git clone https://github.com/your-username/spacex-falcon9-analysis.git cd spacex-falcon9-analysis -
Install dependencies
pip install -r requirements.txt
-
Run the notebooks in the order provided to follow the full pipeline.
-
Start the Dash application
python spacex_dash_app.py
- Launch success is highly correlated with launch site, payload mass, and orbit type.
- Machine learning models achieved good accuracy predicting first-stage landing success.
- Geospatial analysis revealed visual clusters of success/failure zones.
- Add more recent launch data via the SpaceX API.
- Engineer more complex features (weather, booster version, etc.).
- Explore advanced ML models like Gradient Boosting or Neural Nets.
- Expand dashboard features with filters, timelines, and real-time updates.
🌐 View the deployed dashboard on Render
Developed as part of a Data Science course using IBM-provided datasets and labs.