Skip to main content

MLS SDK

Project description

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

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 --upgrade pip
$ pip install --upgrade setuptools
$ pip install --upgrade wheel
$ 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.

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

sktmls-2023.3.10.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

sktmls-2023.3.10-py3-none-any.whl (152.2 kB view details)

Uploaded Python 3

File details

Details for the file sktmls-2023.3.10.tar.gz.

File metadata

  • Download URL: sktmls-2023.3.10.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sktmls-2023.3.10.tar.gz
Algorithm Hash digest
SHA256 04fa2ee8a0ebaaa145c42e99d2b767f40705c6cfff6cf2a382648c93a66b7fab
MD5 fbe7a30b0261d62c886e201f5e47894d
BLAKE2b-256 1e20299df5fdc9419aeca7eef617373c429a6d088638629418cd094b00786684

See more details on using hashes here.

File details

Details for the file sktmls-2023.3.10-py3-none-any.whl.

File metadata

  • Download URL: sktmls-2023.3.10-py3-none-any.whl
  • Upload date:
  • Size: 152.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sktmls-2023.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8df98b262e265bb4a0f5aac88bfc1eab4aef32fa6f8042c2f97b1fa985d9f0
MD5 55d273e5ea05b06f05ef569c2d858406
BLAKE2b-256 533b96412347f2a3b01183f0db3b66613108f2cbfcb21cf32f934ca6203b8abf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page