Skip to content

🔍 Minimal examples of machine learning tests for implementation, behaviour, and performance.

License

Notifications You must be signed in to change notification settings

eugeneyan/testing-ml

Repository files navigation

testing-ml

Examples on how to test machine learning code. We'll test a numpy implementation of DecisionTree and RandomForest, covering some standard software tests, model tests, and model evaluation.

Inspired by @jeremyjordan's Effective Testing for Machine Learning Systems; follow-up article on 2020-09-06 @ eugeneyan.com.

Tests codecov contributions welcome

Quick Start

# Clone and setup environment
git clone git@github.com:eugeneyan/testing-ml.git
cd testing-ml
make setup

# Run test suite
make check

Standard software tests

Model tests

Model evaluation

About

🔍 Minimal examples of machine learning tests for implementation, behaviour, and performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published