DoNothing¶
-
class
mastml.legos.util_legos.
DoNothing
[source]¶ Bases:
sklearn.base.BaseEstimator
,sklearn.base.TransformerMixin
Class for having a “null” transform where the output is the same as the input. Needed by MAST-ML as a placeholder if certain workflow aspects are not performed.
Args:
NoneMethods:
fit: does nothing, just returns object instance. Needed to maintain same structure as scikit-learn classes
Args:
X: (numpy array), array of X featurestransform: passes the input back out, in this case the array of X features
Args:
X: (numpy array), array of X featuresReturns:
X: (numpy array), array of X featuresMethods Summary
fit
(X[, y])transform
(X)Methods Documentation