Model-logger
Modelloger is a Python library for storing model’s profile and rapid inter model comparision. Powered by dash and SQLITE3, It’s compact ,light and interactive yet powerfull tool to gain usefull insights.
Documentaion :
Read the detailed documentation here
Installation
Using pip
Use the package manager pip to install modelloger.
pip install modellogger
Usage
from modellogger import ModelLogger
#initialise a modelloger instance
path = "c/path/to/db/databasename.db"
mlog = ModelLogger(path)
#If you are already using a db created by modelloger you can directly load it by stating it's path
#if you are creating a new project just give location where you want to store the db followed by a name.db
Functionalities
Now you are ready to rock and roll. Out of the box you will have the following functionalities:
store_model()
gboost = GradientBoostingClassifier()
gboost.fit(X_train,y_train)
mlog.store_model('my_model_name',gboost,X_train,1.0)
#alternatively
mlog.store_model('my_model_name',gboost,X_train,get_score(gboost),save_pickle = True)
view_results()
mlog.view_results(True,'my_report')
best_model()
mlog.best_model(smaller_the_better=True)
delete_model()
mlog.delete_model(Model_name = "Mymodel")
mlog.delete_model(Model_id = 1)
model_profiles()
mlog.model_profiles('All')
mlog.model_profiles(5)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for modellogger 0.2.3
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 |
|---|---|---|---|---|
| modellogger-0.2.3.tar.gz | 10.8 kB | Without provenance | Details for modellogger-0.2.3.tar.gz |
Release files / modellogger-0.2.3.tar.gz
| Download URL | modellogger-0.2.3.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e58ce90ee3b269899f31f06d72fe28a8cd23985dfcb08b0bf9b2ed0dfc952a6e
|
|
BLAKE2b-256 checksum How to use checksums |
e0e5756ba5a2dec69598ccb6bf89c5130c4070e8b030da1b07bebbad4ffd2cf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Security for modellogger 0.2.3
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.