The following sections will show how to use ensembles within the Shogun and Shark-ML libraries. There are out-of-the-box implementations of random forest and gradient boosting algorithms in these libraries; we will show how to use their application programming interface (API) to work with these algorithms. Also, we will implement a stacking ensemble technique from scratch, using primitives from the Shark-ML library.
Examples of using C++ libraries for creating ensembles
Ensembles with Shogun
There are gradient boosting and random forest algorithm implementations in the Shogun library, and the following sections will show the specific API for using them in practice.