Skip to main content

Boosted forest regression with native support for multioutput problems.

Project description

mubofo

mubofo (from multioutput boosted forest) is a Python implementation of boosted forest regression with native support for multioutput problems.

Boosting is a technique for building an ensemble of weak learners (often tree models) wherein each new regressor is trained on the residual errors accrued by the regressors trained so far. However, most popular implementations use gradient boosting, a mathematical reformulation that involves Taylor-expanding the loss function about the current prediction at each iteration and is thus impractical when the output space is multidimensional.

Some gradient boosting libraries support multioutput problems by training one-dimensional models for each output channel, but such an approach risks missing correlations between outputs and is much slower than a single multioutput model would be.

mubofo solves this problem by returning to the "train on the residuals" perspective of boosting. The main class is MultioutputBoostedForest, which implements the scikit-learn estimator API. While implemented entirely in Python, MultioutputBoostedForest is fast enough for practical use because the individual trees in the forest are (wrappers of) sklearn.tree.DecisionTreeRegressor instances, and so most model fitting is handled by the C backend.

mubofo can be installed with pip install mubofo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mubofo-0.2.8.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mubofo-0.2.8-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mubofo-0.2.8.tar.gz.

File metadata

  • Download URL: mubofo-0.2.8.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for mubofo-0.2.8.tar.gz
Algorithm Hash digest
SHA256 94c4d1c799fe82e2071973c00a4088045d801e38f90fac06bf85074c698fc3e8
MD5 9160116da448e53215fd45002204f412
BLAKE2b-256 f9f25997fff03b3bc85df4188690a9755b34570f56a04d3b50c33c8fc67a91fe

See more details on using hashes here.

File details

Details for the file mubofo-0.2.8-py2.py3-none-any.whl.

File metadata

  • Download URL: mubofo-0.2.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for mubofo-0.2.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd875e97701d4428ebaa7eb126d84e068180d890c3469f5237aa959953551fd7
MD5 11461824fddb08649073c319d47a3853
BLAKE2b-256 045044279aa7e8ac46576b5c11de1ab159381b1bd38f1c3d1bd6c4570cbe3c7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page