This PR implements _estimator_type as a @property of class EstimatorWrapperDF to provide the access of the same attribute in the delegate native estimator.
Also, this PR ensures that DF wrapper classes do not subclass more than one of RegressorDF, ClassifierDF, or TransformerDF; for classes that did this in the past this PR instead introduces a hierarchy of subclasses each of which only implements one estimator type. As the only exception, allow PipelineWrapperDF still implements RegressorDF, ClassifierDF and TransformerDF all at once, but relies on the _estimator_type property to delegate to the native pipeline instance.
This PR implements
_estimator_type
as a@property
of classEstimatorWrapperDF
to provide the access of the same attribute in the delegate native estimator.Also, this PR ensures that DF wrapper classes do not subclass more than one of
RegressorDF
,ClassifierDF
, orTransformerDF
; for classes that did this in the past this PR instead introduces a hierarchy of subclasses each of which only implements one estimator type. As the only exception, allowPipelineWrapperDF
still implementsRegressorDF
,ClassifierDF
andTransformerDF
all at once, but relies on the_estimator_type
property to delegate to the native pipeline instance.