About
mummify is a version control tool for machine learning. It's simple, fast, and designed for model prototyping.
Quickstart
Usage
Add mummify.log(<string>) to the bottom of a machine learning model:
from sklearn.datasets import load_wine
from sklearn.neighbors import KNeighborsClassifier
import mummify
data = load_wine()
X, y = data.data, data.target
model = KNeighborsClassifier(n_neighbors=4)
model.fit(X, y)
accuracy = round(model.score(X, y), 4)
mummify.log(f'Accuracy: {accuracy}')
Run the model at the command line:
python model.py
Edit the model to implement another algorithm:
...
model = LogisticRegression()
model.fit(X_train, y_train)
accuracy = model.score(X_test, y_test)
mummify.log(f'Test accuracy: {accuracy}')
Inspect model history at the command line with:
mummify history
And peek at the logged messages at the command line with:
cat mummify.log
Switch to an earlier version of the model:
mummify switch <id>
mummify will persist snapshots and the mummify.log file between switches.
Installation
pip install mummify
Contribute
For feature requests or bug reports, please use Github Issues
Metadata
Release files for mummify 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mummify-1.3.0.tar.gz | 4.2 kB | Without provenance | Details for mummify-1.3.0.tar.gz |
Release files / mummify-1.3.0.tar.gz
| Download URL | mummify-1.3.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83ae90e3e6c3783f7a3f1a77e1f78cf58fa11106004b519bdd6cee144db90a83
|
|
BLAKE2b-256 checksum How to use checksums |
70795d582239ebb5fa858c505d50aa6744b6bbad28a2ebf12e39e4e348e7b622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1
|
Security for mummify 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.