Skip to main content

ML_adapter for numpy.

Project description

waylay-ml-adapter-numpy

This provides the ml_adapter.numpy module as Waylay ML Adapter for models that use numpy as data representation.

This waylay-ml-adapter-numpy module provides marshalling for (custom) models that use numpy as native data representation.

pip install waylay-ml-adapter-numpy

Exported classes

This module exports the following classes:

ml_adapter.numpy.V1NumpyModelAdapter

Adapts a callable with numpy arrays as input and output.

Supports dill, joblib or selfserializing model assets.

ml_adapter.numpy.V1NumpyMarshaller

Converts v1 payload from and to numpy arrays.

ml_adapter.numpy.V1NumpyNoLoadAdapter

Adapts a callable with numpy arrays as input and output.

This adapter does not manage the model as a standard asset. Relies on the model or model_class constructor arguments to define the model. When model is not provided, any model_path is passed as a constructor argument to model_class if the signature allows it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waylay_ml_adapter_numpy-0.0.10-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file waylay_ml_adapter_numpy-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for waylay_ml_adapter_numpy-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfb9e23e96ab935ff3c1fe4c71ae48d5393ae1a2aba71a46d65bb503d2e1876
MD5 66d026625630f8fd5a9dd972992a4987
BLAKE2b-256 891a02190cfd464ebacb1bbe38cdd7a7b3307204df3700a204029043fe088812

See more details on using hashes here.

Supported by

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