├── .gitattributes ├── .gitignore ├── Makefile ├── README.md ├── confs ├── kaggle.json └── prototype1.yml ├── data ├── bayesian │ ├── bayesian_euclidean_case__predicted.pickle │ ├── bayesian_euclidean_case_nonpca_predicted.pickle │ ├── bayesian_euclidean_case_pca_predicted.pickle │ ├── bayesian_mahalanobis_case_nonpca_predicted.pickle │ ├── bayesian_mahalanobis_case_pca_predicted.pickle │ ├── bayesian_quadratic_case_nonpca_predicted.pickle │ └── bayesian_quadratic_case_pca_predicted.pickle ├── bpnn │ ├── accuracies_train_21.pickle │ ├── accuracies_val.pickle │ ├── losses_train_21.pickle │ ├── losses_val.pickle │ ├── model_train_21.pickle │ ├── models_val.pickle │ ├── predicted_onehot_y.pickle │ ├── predicted_y.pickle │ ├── times_train_21.pickle │ └── times_val.pickle ├── decision_tree │ ├── X_test_PCA_noval.npy │ ├── X_train_PCA_noval.npy │ ├── y_test_PCA_noval.npy │ └── y_train_PCA_noval.npy ├── post │ ├── adaboost_full_pred.npy │ ├── adaboost_pca_pred.npy │ ├── bayesian_euclidean_case_nonpca_predicted.pickle │ ├── bayesian_euclidean_case_pca_predicted.pickle │ ├── bayesian_mahalanobis_case_nonpca_predicted.pickle │ ├── bayesian_mahalanobis_case_pca_predicted.pickle │ ├── bayesian_quadratic_case_nonpca_predicted.pickle │ ├── bayesian_quadratic_case_pca_predicted.pickle │ ├── kmeans_full_pred.npy │ ├── kmeans_pca_pred.npy │ ├── predicted_y.pickle │ ├── svm_full_pred.npy │ ├── svm_pca_pred.npy │ ├── test_full_y.npy │ ├── xgboost_full_pred.npy │ ├── xgboost_pca_pred.npy │ ├── y_test_values_Russ │ ├── ypredict_DT_PCA.npy │ ├── ypredict_DT_full.npy │ ├── ypredict_LRscratch │ ├── ypredict_LRsk │ ├── ypredict_RF_PCA │ ├── ypredict_RF_full │ ├── ypredict_WTA_PCA │ ├── ypredict_WTA_full │ ├── ypredict_kNNm_PCA.npy │ └── ytest.npy └── wta │ ├── wta_centers_587 │ └── wta_centers_all_best ├── main.ipynb ├── project_libs ├── __init__.py ├── configuration │ ├── __init__.py │ ├── configuration.py │ └── yml_schema.json ├── fancy_logger │ ├── __init__.py │ ├── abstract_fancy_logger.py │ └── colorized_logger.py ├── project │ ├── __init__.py │ ├── models.py │ ├── plotter.py │ ├── postprocessing.py │ └── preprocessing.py └── timing_tools │ ├── __init__.py │ └── timeit.py ├── requirements.txt ├── scripts └── test_bpnn.py └── setup.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/README.md -------------------------------------------------------------------------------- /confs/kaggle.json: -------------------------------------------------------------------------------- 1 | {"username":"drkostas","key":"369faa3cf3bab4fe0887552409fd79df"} -------------------------------------------------------------------------------- /confs/prototype1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/confs/prototype1.yml -------------------------------------------------------------------------------- /data/bayesian/bayesian_euclidean_case__predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_euclidean_case__predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_euclidean_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_euclidean_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_euclidean_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_euclidean_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_mahalanobis_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_mahalanobis_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_mahalanobis_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_mahalanobis_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_quadratic_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_quadratic_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/bayesian/bayesian_quadratic_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bayesian/bayesian_quadratic_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/bpnn/accuracies_train_21.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/accuracies_train_21.pickle -------------------------------------------------------------------------------- /data/bpnn/accuracies_val.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/accuracies_val.pickle -------------------------------------------------------------------------------- /data/bpnn/losses_train_21.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/losses_train_21.pickle -------------------------------------------------------------------------------- /data/bpnn/losses_val.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/losses_val.pickle -------------------------------------------------------------------------------- /data/bpnn/model_train_21.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/model_train_21.pickle -------------------------------------------------------------------------------- /data/bpnn/models_val.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/models_val.pickle -------------------------------------------------------------------------------- /data/bpnn/predicted_onehot_y.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/predicted_onehot_y.pickle -------------------------------------------------------------------------------- /data/bpnn/predicted_y.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/predicted_y.pickle -------------------------------------------------------------------------------- /data/bpnn/times_train_21.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/times_train_21.pickle -------------------------------------------------------------------------------- /data/bpnn/times_val.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/bpnn/times_val.pickle -------------------------------------------------------------------------------- /data/decision_tree/X_test_PCA_noval.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/decision_tree/X_test_PCA_noval.npy -------------------------------------------------------------------------------- /data/decision_tree/X_train_PCA_noval.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/decision_tree/X_train_PCA_noval.npy -------------------------------------------------------------------------------- /data/decision_tree/y_test_PCA_noval.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/decision_tree/y_test_PCA_noval.npy -------------------------------------------------------------------------------- /data/decision_tree/y_train_PCA_noval.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/decision_tree/y_train_PCA_noval.npy -------------------------------------------------------------------------------- /data/post/adaboost_full_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/adaboost_full_pred.npy -------------------------------------------------------------------------------- /data/post/adaboost_pca_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/adaboost_pca_pred.npy -------------------------------------------------------------------------------- /data/post/bayesian_euclidean_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_euclidean_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/post/bayesian_euclidean_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_euclidean_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/post/bayesian_mahalanobis_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_mahalanobis_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/post/bayesian_mahalanobis_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_mahalanobis_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/post/bayesian_quadratic_case_nonpca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_quadratic_case_nonpca_predicted.pickle -------------------------------------------------------------------------------- /data/post/bayesian_quadratic_case_pca_predicted.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/bayesian_quadratic_case_pca_predicted.pickle -------------------------------------------------------------------------------- /data/post/kmeans_full_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/kmeans_full_pred.npy -------------------------------------------------------------------------------- /data/post/kmeans_pca_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/kmeans_pca_pred.npy -------------------------------------------------------------------------------- /data/post/predicted_y.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/predicted_y.pickle -------------------------------------------------------------------------------- /data/post/svm_full_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/svm_full_pred.npy -------------------------------------------------------------------------------- /data/post/svm_pca_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/svm_pca_pred.npy -------------------------------------------------------------------------------- /data/post/test_full_y.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/test_full_y.npy -------------------------------------------------------------------------------- /data/post/xgboost_full_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/xgboost_full_pred.npy -------------------------------------------------------------------------------- /data/post/xgboost_pca_pred.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/xgboost_pca_pred.npy -------------------------------------------------------------------------------- /data/post/y_test_values_Russ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/y_test_values_Russ -------------------------------------------------------------------------------- /data/post/ypredict_DT_PCA.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_DT_PCA.npy -------------------------------------------------------------------------------- /data/post/ypredict_DT_full.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_DT_full.npy -------------------------------------------------------------------------------- /data/post/ypredict_LRscratch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_LRscratch -------------------------------------------------------------------------------- /data/post/ypredict_LRsk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_LRsk -------------------------------------------------------------------------------- /data/post/ypredict_RF_PCA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_RF_PCA -------------------------------------------------------------------------------- /data/post/ypredict_RF_full: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_RF_full -------------------------------------------------------------------------------- /data/post/ypredict_WTA_PCA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_WTA_PCA -------------------------------------------------------------------------------- /data/post/ypredict_WTA_full: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_WTA_full -------------------------------------------------------------------------------- /data/post/ypredict_kNNm_PCA.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ypredict_kNNm_PCA.npy -------------------------------------------------------------------------------- /data/post/ytest.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/post/ytest.npy -------------------------------------------------------------------------------- /data/wta/wta_centers_587: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/wta/wta_centers_587 -------------------------------------------------------------------------------- /data/wta/wta_centers_all_best: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/data/wta/wta_centers_all_best -------------------------------------------------------------------------------- /main.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/main.ipynb -------------------------------------------------------------------------------- /project_libs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/__init__.py -------------------------------------------------------------------------------- /project_libs/configuration/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/configuration/__init__.py -------------------------------------------------------------------------------- /project_libs/configuration/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/configuration/configuration.py -------------------------------------------------------------------------------- /project_libs/configuration/yml_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/configuration/yml_schema.json -------------------------------------------------------------------------------- /project_libs/fancy_logger/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/fancy_logger/__init__.py -------------------------------------------------------------------------------- /project_libs/fancy_logger/abstract_fancy_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/fancy_logger/abstract_fancy_logger.py -------------------------------------------------------------------------------- /project_libs/fancy_logger/colorized_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/fancy_logger/colorized_logger.py -------------------------------------------------------------------------------- /project_libs/project/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/project/__init__.py -------------------------------------------------------------------------------- /project_libs/project/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/project/models.py -------------------------------------------------------------------------------- /project_libs/project/plotter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/project/plotter.py -------------------------------------------------------------------------------- /project_libs/project/postprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/project/postprocessing.py -------------------------------------------------------------------------------- /project_libs/project/preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/project/preprocessing.py -------------------------------------------------------------------------------- /project_libs/timing_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/timing_tools/__init__.py -------------------------------------------------------------------------------- /project_libs/timing_tools/timeit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/project_libs/timing_tools/timeit.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/test_bpnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/scripts/test_bpnn.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drkostas/accident-severity-prediction/HEAD/setup.py --------------------------------------------------------------------------------