simpleml.registries¶
Import path for the different registries available
Submodules¶
Package Contents¶
Classes¶
Metaclass for defining Abstract Base Classes (ABCs). |
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Explicitly named version of the registry (not implicit on class names) |
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
Importable class to maintain reference to the global registry |
-
class
simpleml.registries.DatasetRegistry[source]¶ Bases:
simpleml.registries.sqlalchemy_registry.MetaRegistryMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
-
class
simpleml.registries.KerasRegistry[source]¶ Bases:
abc.ABCMetaMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
-
class
simpleml.registries.MetaRegistry[source]¶ Bases:
MetaBase,abc.ABCMetaMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
-
class
simpleml.registries.MetricRegistry[source]¶ Bases:
simpleml.registries.sqlalchemy_registry.MetaRegistryMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
-
class
simpleml.registries.ModelRegistry[source]¶ Bases:
simpleml.registries.sqlalchemy_registry.MetaRegistryMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
-
class
simpleml.registries.NamedRegistry[source]¶ Bases:
simpleml.registries.registry.RegistryExplicitly named version of the registry (not implicit on class names)
-
register(self, name, cls, allow_duplicates=True)¶
-
-
class
simpleml.registries.PipelineRegistry[source]¶ Bases:
simpleml.registries.sqlalchemy_registry.MetaRegistryMetaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).