├── .gitignore ├── README.md ├── app ├── app.py ├── models │ └── pipeline_xgboost.pkl ├── static │ └── styles.css └── templates │ └── index.html ├── data └── processed │ ├── X_test.csv │ ├── X_test_engineered.csv │ └── X_train.csv ├── models ├── logistic_regression.pkl ├── random_forest.pkl └── xgboost.pkl ├── notebooks └── exploratory_data_analysis.ipynb ├── raw └── diabetes_data.csv ├── requirements.txt ├── scripts ├── __pycache__ │ └── utility_functions.cpython-311.pyc ├── comprehensive_model_report.py ├── data_preprocessing.py ├── feature_engineering.py ├── model_evaluation.py ├── model_training.py ├── plots │ ├── Logistic Regression_confusion_matrix.png │ ├── Logistic Regression_roc_curve.png │ ├── Random Forest_confusion_matrix.png │ ├── Random Forest_roc_curve.png │ ├── XGBoost_confusion_matrix.png │ └── XGBoost_roc_curve.png ├── reports │ ├── Logistic Regression_report.csv │ ├── Random Forest_report.csv │ └── XGBoost_report.csv └── utility_functions.py └── tests ├── __pycache__ ├── test_data_preprocessing.cpython-311-pytest-8.2.2.pyc ├── test_feature_engineering.cpython-311-pytest-8.2.2.pyc ├── test_model_evaluation.cpython-311-pytest-8.2.2.pyc └── test_model_training.cpython-311-pytest-8.2.2.pyc ├── models ├── logistic_regression.pkl ├── random_forest.pkl └── xgboost.pkl ├── test_data_preprocessing.py ├── test_feature_engineering.py └── test_model_training.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/README.md -------------------------------------------------------------------------------- /app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/app/app.py -------------------------------------------------------------------------------- /app/models/pipeline_xgboost.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/app/models/pipeline_xgboost.pkl -------------------------------------------------------------------------------- /app/static/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/app/static/styles.css -------------------------------------------------------------------------------- /app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/app/templates/index.html -------------------------------------------------------------------------------- /data/processed/X_test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/data/processed/X_test.csv -------------------------------------------------------------------------------- /data/processed/X_test_engineered.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/data/processed/X_test_engineered.csv -------------------------------------------------------------------------------- /data/processed/X_train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/data/processed/X_train.csv -------------------------------------------------------------------------------- /models/logistic_regression.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/models/logistic_regression.pkl -------------------------------------------------------------------------------- /models/random_forest.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/models/random_forest.pkl -------------------------------------------------------------------------------- /models/xgboost.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/models/xgboost.pkl -------------------------------------------------------------------------------- /notebooks/exploratory_data_analysis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/notebooks/exploratory_data_analysis.ipynb -------------------------------------------------------------------------------- /raw/diabetes_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/raw/diabetes_data.csv -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/__pycache__/utility_functions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/__pycache__/utility_functions.cpython-311.pyc -------------------------------------------------------------------------------- /scripts/comprehensive_model_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/comprehensive_model_report.py -------------------------------------------------------------------------------- /scripts/data_preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/data_preprocessing.py -------------------------------------------------------------------------------- /scripts/feature_engineering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/feature_engineering.py -------------------------------------------------------------------------------- /scripts/model_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/model_evaluation.py -------------------------------------------------------------------------------- /scripts/model_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/model_training.py -------------------------------------------------------------------------------- /scripts/plots/Logistic Regression_confusion_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/Logistic Regression_confusion_matrix.png -------------------------------------------------------------------------------- /scripts/plots/Logistic Regression_roc_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/Logistic Regression_roc_curve.png -------------------------------------------------------------------------------- /scripts/plots/Random Forest_confusion_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/Random Forest_confusion_matrix.png -------------------------------------------------------------------------------- /scripts/plots/Random Forest_roc_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/Random Forest_roc_curve.png -------------------------------------------------------------------------------- /scripts/plots/XGBoost_confusion_matrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/XGBoost_confusion_matrix.png -------------------------------------------------------------------------------- /scripts/plots/XGBoost_roc_curve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/plots/XGBoost_roc_curve.png -------------------------------------------------------------------------------- /scripts/reports/Logistic Regression_report.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/reports/Logistic Regression_report.csv -------------------------------------------------------------------------------- /scripts/reports/Random Forest_report.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/reports/Random Forest_report.csv -------------------------------------------------------------------------------- /scripts/reports/XGBoost_report.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/reports/XGBoost_report.csv -------------------------------------------------------------------------------- /scripts/utility_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/scripts/utility_functions.py -------------------------------------------------------------------------------- /tests/__pycache__/test_data_preprocessing.cpython-311-pytest-8.2.2.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/__pycache__/test_data_preprocessing.cpython-311-pytest-8.2.2.pyc -------------------------------------------------------------------------------- /tests/__pycache__/test_feature_engineering.cpython-311-pytest-8.2.2.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/__pycache__/test_feature_engineering.cpython-311-pytest-8.2.2.pyc -------------------------------------------------------------------------------- /tests/__pycache__/test_model_evaluation.cpython-311-pytest-8.2.2.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/__pycache__/test_model_evaluation.cpython-311-pytest-8.2.2.pyc -------------------------------------------------------------------------------- /tests/__pycache__/test_model_training.cpython-311-pytest-8.2.2.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/__pycache__/test_model_training.cpython-311-pytest-8.2.2.pyc -------------------------------------------------------------------------------- /tests/models/logistic_regression.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/models/logistic_regression.pkl -------------------------------------------------------------------------------- /tests/models/random_forest.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/models/random_forest.pkl -------------------------------------------------------------------------------- /tests/models/xgboost.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/models/xgboost.pkl -------------------------------------------------------------------------------- /tests/test_data_preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/test_data_preprocessing.py -------------------------------------------------------------------------------- /tests/test_feature_engineering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/test_feature_engineering.py -------------------------------------------------------------------------------- /tests/test_model_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeByPinar/Diabetes_Health_Prediction_and_Analysis/HEAD/tests/test_model_training.py --------------------------------------------------------------------------------