NoGenerate

class mastml.legos.feature_generators.NoGenerate[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:

None

Methods:

fit: does nothing, just returns object instance. Needed to maintain same structure as scikit-learn classes

Args:

X: (dataframe), dataframe of X features

transform: passes the input back out, in this case the array of X features

Args:

X: (dataframe), dataframe of X features

Returns:

(dataframe), dataframe of X features

Methods Summary

fit(X[, y])
transform(X)

Methods Documentation

fit(X, y=None)[source]
transform(X)[source]