├── .devcontainer └── devcontainer.json ├── .gitattributes ├── .github └── workflows │ └── production-features-pipeline.yml ├── .gitignore ├── README.md ├── chromedriver.exe ├── configs ├── feature_names.json ├── lightgbm.json └── xgboost.json ├── data ├── games.csv ├── games_dashboard.csv ├── games_engineered.csv ├── games_predictions.csv ├── original │ ├── games.csv │ ├── games_details.csv │ ├── players.csv │ ├── ranking.csv │ └── teams.csv ├── running_accuracy_metrics.csv ├── season_summary_stats.csv ├── test.csv ├── test_features.csv ├── test_predictions.csv ├── test_selected.csv ├── train.csv ├── train_features.csv ├── train_predictions.csv ├── train_selected.csv └── transformed.csv ├── images ├── basketball_money2.jpg ├── calibration.png ├── confusion_matrix.png ├── correlation_bar_chart.png ├── distributions.png ├── initial_setup.png ├── modeling_cycle.png ├── neptune.png ├── production_pipeline.png ├── regular_season_accuracy.png ├── streamlit2.png ├── streamlit_example.jpg ├── train_vs_test_shapley.jpg └── train_vs_test_shapley.svg ├── models ├── model.pkl └── model_data.json ├── notebooks ├── 00_update_local_data.ipynb ├── 01_eda.ipynb ├── 02_data_processing.ipynb ├── 03_train_test_split.ipynb ├── 04_model_baseline.ipynb ├── 05_feature_engineering.ipynb ├── 06_feature_selection.ipynb ├── 07_model_testing.ipynb ├── 08_backfill_features.ipynb ├── 09_a.ipynb ├── 09_production_features_pipeline.ipynb ├── 09_production_features_pipeline_hopsworks.ipynb └── 10_model_training_pipeline.ipynb ├── requirements.txt ├── requirements.txt.main ├── setup_notes.txt └── src ├── __init__.py ├── common_functions.py ├── constants.py ├── dashboard_processing.py ├── data_processing.py ├── feature_engineering.py ├── google_drive_utils.py ├── hopsworks_utils.py ├── model_training.py ├── optuna_objectives.py ├── streamlit_app hopsworks.py ├── streamlit_app.py └── webscraping.py /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/production-features-pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/.github/workflows/production-features-pipeline.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/README.md -------------------------------------------------------------------------------- /chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/chromedriver.exe -------------------------------------------------------------------------------- /configs/feature_names.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/configs/feature_names.json -------------------------------------------------------------------------------- /configs/lightgbm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/configs/lightgbm.json -------------------------------------------------------------------------------- /configs/xgboost.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/configs/xgboost.json -------------------------------------------------------------------------------- /data/games.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/games.csv -------------------------------------------------------------------------------- /data/games_dashboard.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/games_dashboard.csv -------------------------------------------------------------------------------- /data/games_engineered.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/games_engineered.csv -------------------------------------------------------------------------------- /data/games_predictions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/games_predictions.csv -------------------------------------------------------------------------------- /data/original/games.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/original/games.csv -------------------------------------------------------------------------------- /data/original/games_details.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/original/games_details.csv -------------------------------------------------------------------------------- /data/original/players.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/original/players.csv -------------------------------------------------------------------------------- /data/original/ranking.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/original/ranking.csv -------------------------------------------------------------------------------- /data/original/teams.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/original/teams.csv -------------------------------------------------------------------------------- /data/running_accuracy_metrics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/running_accuracy_metrics.csv -------------------------------------------------------------------------------- /data/season_summary_stats.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/season_summary_stats.csv -------------------------------------------------------------------------------- /data/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/test.csv -------------------------------------------------------------------------------- /data/test_features.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/test_features.csv -------------------------------------------------------------------------------- /data/test_predictions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/test_predictions.csv -------------------------------------------------------------------------------- /data/test_selected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/test_selected.csv -------------------------------------------------------------------------------- /data/train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/train.csv -------------------------------------------------------------------------------- /data/train_features.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/train_features.csv -------------------------------------------------------------------------------- /data/train_predictions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/train_predictions.csv -------------------------------------------------------------------------------- /data/train_selected.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/train_selected.csv -------------------------------------------------------------------------------- /data/transformed.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/data/transformed.csv -------------------------------------------------------------------------------- /images/basketball_money2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/basketball_money2.jpg -------------------------------------------------------------------------------- /images/calibration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/calibration.png -------------------------------------------------------------------------------- /images/confusion_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/confusion_matrix.png -------------------------------------------------------------------------------- /images/correlation_bar_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/correlation_bar_chart.png -------------------------------------------------------------------------------- /images/distributions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/distributions.png -------------------------------------------------------------------------------- /images/initial_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/initial_setup.png -------------------------------------------------------------------------------- /images/modeling_cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/modeling_cycle.png -------------------------------------------------------------------------------- /images/neptune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/neptune.png -------------------------------------------------------------------------------- /images/production_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/production_pipeline.png -------------------------------------------------------------------------------- /images/regular_season_accuracy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/regular_season_accuracy.png -------------------------------------------------------------------------------- /images/streamlit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/streamlit2.png -------------------------------------------------------------------------------- /images/streamlit_example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/streamlit_example.jpg -------------------------------------------------------------------------------- /images/train_vs_test_shapley.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/train_vs_test_shapley.jpg -------------------------------------------------------------------------------- /images/train_vs_test_shapley.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/images/train_vs_test_shapley.svg -------------------------------------------------------------------------------- /models/model.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/models/model.pkl -------------------------------------------------------------------------------- /models/model_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/models/model_data.json -------------------------------------------------------------------------------- /notebooks/00_update_local_data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/00_update_local_data.ipynb -------------------------------------------------------------------------------- /notebooks/01_eda.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/01_eda.ipynb -------------------------------------------------------------------------------- /notebooks/02_data_processing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/02_data_processing.ipynb -------------------------------------------------------------------------------- /notebooks/03_train_test_split.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/03_train_test_split.ipynb -------------------------------------------------------------------------------- /notebooks/04_model_baseline.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/04_model_baseline.ipynb -------------------------------------------------------------------------------- /notebooks/05_feature_engineering.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/05_feature_engineering.ipynb -------------------------------------------------------------------------------- /notebooks/06_feature_selection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/06_feature_selection.ipynb -------------------------------------------------------------------------------- /notebooks/07_model_testing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/07_model_testing.ipynb -------------------------------------------------------------------------------- /notebooks/08_backfill_features.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/08_backfill_features.ipynb -------------------------------------------------------------------------------- /notebooks/09_a.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/09_a.ipynb -------------------------------------------------------------------------------- /notebooks/09_production_features_pipeline.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/09_production_features_pipeline.ipynb -------------------------------------------------------------------------------- /notebooks/09_production_features_pipeline_hopsworks.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/09_production_features_pipeline_hopsworks.ipynb -------------------------------------------------------------------------------- /notebooks/10_model_training_pipeline.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/notebooks/10_model_training_pipeline.ipynb -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements.txt.main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/requirements.txt.main -------------------------------------------------------------------------------- /setup_notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/setup_notes.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/common_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/common_functions.py -------------------------------------------------------------------------------- /src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/constants.py -------------------------------------------------------------------------------- /src/dashboard_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/dashboard_processing.py -------------------------------------------------------------------------------- /src/data_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/data_processing.py -------------------------------------------------------------------------------- /src/feature_engineering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/feature_engineering.py -------------------------------------------------------------------------------- /src/google_drive_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/google_drive_utils.py -------------------------------------------------------------------------------- /src/hopsworks_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/hopsworks_utils.py -------------------------------------------------------------------------------- /src/model_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/model_training.py -------------------------------------------------------------------------------- /src/optuna_objectives.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/optuna_objectives.py -------------------------------------------------------------------------------- /src/streamlit_app hopsworks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/streamlit_app hopsworks.py -------------------------------------------------------------------------------- /src/streamlit_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/streamlit_app.py -------------------------------------------------------------------------------- /src/webscraping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmunch1/nba-prediction/HEAD/src/webscraping.py --------------------------------------------------------------------------------