ebonite.runtime.interface.ml_model module¶
-
ebonite.runtime.interface.ml_model.
model_interface
(model_meta: ebonite.core.objects.core.Model)[source]¶ Creates an interface from given model with methods exposed by wrapper Methods signature is determined via metadata associated with given model.
Parameters: model_meta – model to create interface for Returns: instance of Interface
implementation
-
class
ebonite.runtime.interface.ml_model.
ModelLoader
[source]¶ Bases:
ebonite.runtime.interface.base.InterfaceLoader
Implementation of
InterfaceLoader
which loads a model via PyJackson and wraps it into an interface
-
class
ebonite.runtime.interface.ml_model.
MultiModelLoader
[source]¶ Bases:
ebonite.runtime.interface.base.InterfaceLoader
Implementation of
InterfaceLoader
which loads a collection of models via PyJackson and wraps them into a single interface