hypernets.tabular.ensemble package

Submodules

hypernets.tabular.ensemble.base_ensemble module

class hypernets.tabular.ensemble.base_ensemble.BaseEnsemble(task, estimators, need_fit=False, n_folds=5, method='soft', random_state=9527)[source]

Bases: object

fit(X, y, est_predictions=None)[source]
fit_predictions(predictions, y_true)[source]
static load(model_path)[source]
np = <module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/hypernets/envs/latest/lib/python3.6/site-packages/numpy/__init__.py'>
predict(X)[source]
predict_proba(X)[source]
predictions2predict(predictions)[source]
predictions2predict_proba(predictions)[source]
proba2predict(proba, proba_threshold=0.5)[source]
save(model_path)[source]

hypernets.tabular.ensemble.stacking module

class hypernets.tabular.ensemble.stacking.StackingEnsemble(task, estimators, need_fit=False, n_folds=5, method='soft', meta_model=None, fit_kwargs=None)[source]

Bases: hypernets.tabular.ensemble.base_ensemble.BaseEnsemble

fit_predictions(predictions, y_true)[source]
predictions2predict(predictions)[source]
predictions2predict_proba(predictions)[source]

hypernets.tabular.ensemble.voting module

class hypernets.tabular.ensemble.voting.AveragingEnsemble(task, estimators, need_fit=False, n_folds=5, method='soft')[source]

Bases: hypernets.tabular.ensemble.base_ensemble.BaseEnsemble

fit_predictions(predictions, y_true)[source]
predictions2predict(predictions)[source]
predictions2predict_proba(predictions)[source]
class hypernets.tabular.ensemble.voting.GreedyEnsemble(task, estimators, need_fit=False, n_folds=5, method='soft', random_state=9527, scoring='neg_log_loss', ensemble_size=0)[source]

Bases: hypernets.tabular.ensemble.base_ensemble.BaseEnsemble

References

Caruana, Rich, et al. “Ensemble selection from libraries of models.” Proceedings of the twenty-first international conference on Machine learning. 2004.

fit_predictions(predictions, y_true)[source]
predictions2predict(predictions)[source]
predictions2predict_proba(predictions)[source]

Module contents