Skip to main content

Python implementation for Gradient COBRA by S. Has (2023), and MixCOBRA by A. Fischer and M. Mougeot (2019).

Project description

Travis Status Coverage Status Python39

Introduction

gradientcobra is the python package implementation of Gradient COBRA method by S. Has (2023), which is a kernel-based consensual aggregation method for regression problems. It is a regular kernel-based version of COBRA method by Biau et al. (2016). We have theoretically shown that the consistency inheritance property also holds for this kernel-based configuration, and the same convergence rate as classical COBRA is achieved. Moreoever, gradient descent algorithm is applied to efficiently estimate the bandwidth parameter of the method. This efficiency is illustrated in several numerical experiments on simulated and real datasets.

From version v1.0.6, the aggregation method using input-output trade-off by A. Fischer and M. Mougeot (2019) is also available for regression problems. This method is available as MixCOBRARegressor in gradientcobra.mixcobra module. For more information, read “Documentation and Examples”.

Installation

In your terminal, run the following command to download and install from PyPI:

pip install gradientcobra

Citation

If you find gradientcobra helpful, please consider citing the following papaers:

Documentation and Examples

For more information and how to use the package, read gradientcobra documentation.

Read also:

Dependencies

  • Python 3.9+

  • numpy, scipy, scikit-learn, matplotlib, pandas, seaborn, plotly

References

  • S. Has (2023). A Gradient COBRA: A kernel-based consensual aggregation for regression. Journal of Data Science, Statistics, and Visualisation, 3(2).

  • A. Fischer, M. Mougeot (2019). Aggregation using input-output trade-off. Journal of Statistical Planning and Inference, 200.

  • G. Biau, A. Fischer, B. Guedj and J. D. Malley (2016), COBRA: A combined regression strategy, Journal of Multivariate Analysis.

  • M. Mojirsheibani (1999), Combining Classifiers via Discretization, Journal of the American Statistical Association.

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

gradientcobra-1.0.10.tar.gz (27.1 kB view hashes)

Uploaded Source

Supported by

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