This release is a pre-release and may not be stable for production use.
mls-model-registry (sktmls)
Contents
Description
A Python package for MLS model registry.
This python package includes
- Customized prediction pipelines inheriting MLSModel
- Model uploader to AWS S3 for meta management and online prediction
Installation
Installation is automatically done by training containers in YE. If you want to install manually for local machines,
# develop
pip install --index-url https://test.pypi.org/simple/ --no-deps sktmls
# production
pip install sktmls
How to use
- MLS Docs: https://ab.sktmls.com/docs/model-registry
- sktmls Docs: https://sktaiflow.github.io/mls-sdk/sktmls
Development
Requirements for development
- Python 3.6
- requirements.txt
- requirements-dev.txt
Local model registry
To enable all model related features in local environment, you need to create a directory models in your home directory.
$ cd ~/
$ mkdir models
Python environment
First you need to do the followings
$ python -V # Check if the version is 3.6.
$ python -m venv env # Create a virtualenv.
$ . env/bin/activate # Activate the env.
$ pip install "numpy>=1.19.4,<1.20" # Install numpy to avoid a requirement error.
$ pip install -r requirements.txt # Install required packages.
$ pip install -r requirements-dev.txt # Install required dev packages.
Documents generation
Before a commit, generate documents if any docstring has been changed
rm -rf docs
pdoc --html --config show_source_code=False -f -o ./docs sktmls
Version
sktmls package version is automatically genereated followd by a production release on format YY.MM.DD
We use Calendar Versioning. For version available, see the tags on this repository.
Release files for sktmls 2020.12.16rc46
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sktmls-2020.12.16rc46.tar.gz | 462.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sktmls-2020.12.16rc46-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / sktmls-2020.12.16rc46.tar.gz
| Download URL | sktmls-2020.12.16rc46.tar.gz |
|---|---|
| Size | 462.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36bc9a14b0bca8f3e837464c3e9429b44b669bc1f3935ebd513867a86b61a9f2
|
|
BLAKE2b-256 checksum How to use checksums |
3c11a0a3cef05b550b3eb201779449a8658d20b04902860ab9aa53eb7ff94059
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7
|
Release files / sktmls-2020.12.16rc46-py3-none-any.whl
| Download URL | sktmls-2020.12.16rc46-py3-none-any.whl |
|---|---|
| Size | 637.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b514ebca35fa14680644bd5e290c2a907fe09d1b2847f87e67205eca34a9b821
|
|
BLAKE2b-256 checksum How to use checksums |
fa89c7164dc8f23a9b84b9023f2f7bbe17dbcc3ef9e095a9fa7282589d01d6b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7
|