TransformerMixin

class lightkit.estimator.TransformerMixin[source]

Bases: Generic[lightkit.estimator._protocols.D_contra, lightkit.estimator._protocols.R_co]

Mixin that provides a fit_transform method that chains fitting the estimator and transforming the data it was fitted on.

Methods

fit_transform

Fits the estimator using the provided data and subsequently transforms the data using the fitted estimator.