A library of tools for easier evaluation of ML models.
Project description
MLLytics
Installation instructions
pip install MLLytics
or
python setup.py install
or
conda env create -f environment.yml
Future
Improvements and cleanup
- Comment all functions and classes
- Add type hinting to all functions and classes (https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html)
- Scoring functions
- More output stats in overviews
- Update reliability plot https://machinelearningmastery.com/calibrated-classification-model-in-scikit-learn/
- Tests
- Switch from my metrics to sklearn metrics where it makes sense? aka
fpr, tpr, thresholds = roc_curve(y[test], probas_[:, 1])
and more general macro/micro average metrics from: https://scikit-learn.org/stable/modules/generated/sklearn.metrics.recall_score.html#sklearn.metrics.recall_score - Additional metrics (sensitivity, specificity, precision, negative predictive value, FPR, FNR, false discovery rate, accuracy, F1 score
Cosmetic
- Fix size of confusion matrix
- Check works with matplotlib 3
- Tidy up legends and annotation text on plots
- Joy plots
- Brier score for calibration plot
- Tidy up cross validation and plots (also repeated cross-validation)
- Acc-thresholds graph
Recently completed
Allow figure size and font sizes to be passed into plotting functionsExample guides for each function in jupyter notebooksMultiClassMetrics class to inherit from ClassMetrics and share common functionsREGRESSION
Contributing Authors
- Scott Clay
- David Sullivan
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
MLLytics-0.2.2.tar.gz
(13.0 kB
view details)
Built Distribution
File details
Details for the file MLLytics-0.2.2.tar.gz
.
File metadata
- Download URL: MLLytics-0.2.2.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 219620228314433af3f4a43e3571421cf5c4a73a81e3a584d85d4ef5ea385e95 |
|
MD5 | a5fb264b2e97dbb7c38967581ce1b8af |
|
BLAKE2b-256 | 5ff25a26529eb02ab005060644781f7f6b28717cc1f16e5c62cbe3a95bfd0fbc |
File details
Details for the file MLLytics-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: MLLytics-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed11b4648d6f1b4b1ae88463d640b594b256b24f1aae85967b9ae228525738ad |
|
MD5 | 279b325d7e06d5d593748e192d5f4c5f |
|
BLAKE2b-256 | 68537fd7191e27dfbdd9533bec81aafeec7469ac0b2ab890b3c1977d462a7f2b |