simpleml.orm.model

ORM module for model objects

Module Contents

Classes

ORMModel

Base class for all Model objects. Defines the required

Attributes

LOGGER

__author__

simpleml.orm.model.LOGGER[source]
simpleml.orm.model.__author__ = Elisha Yadgaran[source]
class simpleml.orm.model.ORMModel[source]

Bases: simpleml.orm.persistable.ORMPersistable

Base class for all Model objects. Defines the required parameters for versioning and all other metadata can be stored in the arbitrary metadata field

params: model parameter metadata for easy insight into hyperparameters across trainings feature_metadata: metadata insight into resulting features and importances

pipeline_id: foreign key relation to the pipeline used to transform input to the model

(training is also dependent on originating dataset but scoring only needs access to the pipeline)

__table_args__[source]
__tablename__ = models[source]
feature_metadata[source]
params[source]
pipeline[source]
pipeline_id[source]
classmethod load_pipeline(cls, id)[source]
Parameters

id (str) –