autoflow.ensemble.stack package

Submodules

autoflow.ensemble.stack.base module

class autoflow.ensemble.stack.base.StackEstimator(meta_learner=None, use_features_in_secondary=False)[source]

Bases: autoflow.ensemble.base.EnsembleEstimator

fit(X, y)[source]
fit_trained_data(estimators_list: List[List[autoflow.utils.typing_.GenericEstimator]], y_preds_list: List[List[numpy.ndarray]], y_true_indexes_list: List[List[numpy.ndarray]], y_true: numpy.ndarray)[source]
predict(X)[source]
predict_meta_features(X, is_train)[source]

autoflow.ensemble.stack.classifier module

class autoflow.ensemble.stack.classifier.StackClassifier(meta_learner=None, use_features_in_secondary=False, drop_last_proba=False, use_probas=True)[source]

Bases: autoflow.ensemble.stack.base.StackEstimator, sklearn.base.ClassifierMixin

decision_function(X)[source]
mainTask = 'classification'
predict_meta_features(X, is_train)[source]
predict_proba(X)[source]

autoflow.ensemble.stack.regressor module

class autoflow.ensemble.stack.regressor.StackRegressor(meta_learner=None, use_features_in_secondary=False)[source]

Bases: autoflow.ensemble.stack.base.StackEstimator, sklearn.base.RegressorMixin

mainTask = 'regression'
predict_meta_features(X, is_train)[source]

Module contents