base_meta ================================ .. py:module:: evalml.utils.base_meta .. autoapi-nested-parse:: Metaclass that overrides creating a new component or pipeline by wrapping methods with validators and setters. Module Contents --------------- Classes Summary ~~~~~~~~~~~~~~~ .. autoapisummary:: evalml.utils.base_meta.BaseMeta Contents ~~~~~~~~~~~~~~~~~~~ .. py:class:: BaseMeta Metaclass that overrides creating a new component or pipeline by wrapping methods with validators and setters. **Attributes** .. list-table:: :widths: 15 85 :header-rows: 0 * - **FIT_METHODS** - ['fit', 'fit_transform'] * - **METHODS_TO_CHECK** - ['predict', 'predict_proba', 'transform', 'inverse_transform'] * - **PROPERTIES_TO_CHECK** - ['feature_importance'] **Methods** .. autoapisummary:: :nosignatures: evalml.utils.base_meta.BaseMeta.register evalml.utils.base_meta.BaseMeta.set_fit .. py:method:: register(cls, subclass) Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. .. py:method:: set_fit(cls, method) :classmethod: Wrapper for the fit method.