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.
For more information, read the "Documentation and Examples" below.
In your terminal, run the following command to download and install from PyPI:
pip install gradientcobra
If you find gradientcobra
helpful, please consider citing the following papaers:
- S. Has (2023), Gradient COBRA: A kernel-based consensual aggregation for regression.
- A. Fischer and M. Mougeot (2019), Aggregation using input-output trade-off.
- G. Biau, A. Fischer, B. Guedj and J. D. Malley (2016), COBRA: A combined regression strategy.
For more information and how to use the package, read gradientcobra documentation.
Available methods:
- GradientCOBRA documentation.
- MixCOBRARegressor documentation.
- Kernel Smoother documentation.
- Super Learner documentation.
- Python 3.9+
- numpy, scipy, scikit-learn, matplotlib, pandas, seaborn, plotly
- 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.
- M. J. Van der Laan, E. C. Polley, and A. E. Hubbard (2007). Super Learner. Statistical Applications of Genetics and Molecular Biology, 6, article 25.
- T. Hastie, R. Tibshirani, J. Friedman (2009). Kernel Smoothing Methods. The Elements of Statistical Learning. Springer Series in Statistics. Springer, New York, NY.