Skip to content

Conversation

@joshluberisse
Copy link

  • Corrected a typo in README.md ('suach' to 'such').
  • Verified that the model training script (Diabetes Predictor - Deployment.py) uses the correct train/test split variables. Noted that the model .pkl file cannot be regenerated without the original kaggle_diabetes.csv dataset.
  • Fixed a typo in a code comment in app.py ('CLassifier' to 'Classifier').
  • Added test_app.py with a unit test for the /predict API endpoint. The test is correctly implemented but currently fails due to ModuleNotFoundError: No module named 'sklearn.ensemble.forest'. This indicates the diabetes-prediction-rfc-model.pkl was created with an older, incompatible version of scikit-learn. The test file is included for future use should the model be updated or the environment matched.

- Corrected a typo in README.md ('suach' to 'such').
- Verified that the model training script (`Diabetes Predictor - Deployment.py`) uses the correct train/test split variables. Noted that the model .pkl file cannot be regenerated without the original `kaggle_diabetes.csv` dataset.
- Fixed a typo in a code comment in `app.py` ('CLassifier' to 'Classifier').
- Added `test_app.py` with a unit test for the `/predict` API endpoint. The test is correctly implemented but currently fails due to `ModuleNotFoundError: No module named 'sklearn.ensemble.forest'`. This indicates the `diabetes-prediction-rfc-model.pkl` was created with an older, incompatible version of scikit-learn. The test file is included for future use should the model be updated or the environment matched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant