This project demonstrates a simple machine learning testing setup using Python, Giskard, and Deepchecks.
-
Install required packages: pip install -r requirements.txt
-
Run the model: python src/model.py
-
Run the tests: python src/test_model.py
This project uses GitHub Actions for continuous integration. The workflow is defined in .github/workflows/ci.yml
. It runs automatically on pushes to the main branch and on pull requests.
The CI pipeline does the following:
- Sets up a Python 3.9 environment
- Installs project dependencies
- Runs linting checks using flake8
- Runs the tests
You can see the current status of the CI pipeline in the badge at the top of this README.
data/
: Contains the dataset (Iris dataset is used from scikit-learn)src/
: Contains the source codemodel.py
: Defines and trains the modeltest_model.py
: Contains tests using Giskard and Deepchecks
requirements.txt
: Lists all required packagesREADME.md
: This file
This project uses Giskard for performance and bias testing, and Deepchecks for model error analysis.