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.5, 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 class in gradientcobra.mixcobra module. For more information, read gradientcobra.mixcobra documentation.

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.gradientcobra and gradientcobra.mixcobra documentation.

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.5.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

gradientcobra-1.0.5-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file gradientcobra-1.0.5.tar.gz.

File metadata

  • Download URL: gradientcobra-1.0.5.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for gradientcobra-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d61ead0044a0f2f4215bb10bfcdd736b5dc84abf7ee8197409f44a07c2077970
MD5 b9fd44229162caf74ef4ef7c3f84bef4
BLAKE2b-256 49a0659b335bd84beef035dea815d486df7fc2d57149692ea95677478a811c48

See more details on using hashes here.

File details

Details for the file gradientcobra-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: gradientcobra-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for gradientcobra-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a7e4cdd22466c84efaf381dd799f7f22feb67d4c85d46e2ad09f755210465355
MD5 c3735248567f42334549cb80107a9dc0
BLAKE2b-256 fff8a2c5adbe4fe20c58f018a3b067f6fcd4ffb2eb001c740ed862fe86fcf23f

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