mcbarlowe / lrboost

LRBoost is a scikit-learn compatible approach to performing linear residual based stacking/boosting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

|ReadTheDocs|_

LRBoost - Linear Residual Boosting with scikit-learn

LRBoost is a combination of a linear estimator and gradient boosting that is scikit-learn compatible.

  • LRBoostRegressor can be used like any other sklearn estimator and is built off a sklearn template.

  • predict returns an array-like of final predictions

  • predict_detail returns a dictionary with the linear, non-linear, and final predictions.

  • predict(X) and predict_detail(X)['pred'] are equivalent values

    >>> from sklearn.datasets import load_iris
    >>> from lrboost import LRBoostRegressor
    >>> X, y = load_iris(return_X_y=True)
    >>> lrb = LRBoostRegressor.fit(X, y)
    >>> predictions = lrb.predict(X)
    >>> detailed_predictions = lrb.predict_detail(X)

More detailed documentation can be found here -> https://readthedocs.org/projects/lrboost.

Andrew Patton & Kostya Medvedovsky

About

LRBoost is a scikit-learn compatible approach to performing linear residual based stacking/boosting.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 33.8%Language:PowerShell 32.5%Language:Python 19.9%Language:Jupyter Notebook 13.8%