|
Medial Code Documentation
|
Deterministic selection by cycling through features one at a time. More...
#include <coordinate_common.h>
Public Member Functions | |
| int | NextFeature (Context const *, int iteration, const gbm::GBLinearModel &model, int, const std::vector< GradientPair > &, DMatrix *, float, float) override |
| Select next coordinate to update. | |
| FeatureSelector ()=default | |
Public Member Functions inherited from xgboost::linear::FeatureSelector | |
| virtual | ~FeatureSelector ()=default |
| virtual destructor | |
| virtual void | Setup (Context const *, const gbm::GBLinearModel &, const std::vector< GradientPair > &, DMatrix *, float, float, int) |
| Setting up the selector state prior to looping through features. | |
Additional Inherited Members | |
Static Public Member Functions inherited from xgboost::linear::FeatureSelector | |
| static FeatureSelector * | Create (int choice) |
| factory method | |
Deterministic selection by cycling through features one at a time.
|
inlineoverridevirtual |
Select next coordinate to update.
| ctx | Booster context |
| iteration | The iteration in a loop through features |
| model | The model. |
| group_idx | Zero-based index of the group. |
| gpair | The gpair. |
| p_fmat | The feature matrix. |
| alpha | Regularisation alpha. |
| lambda | Regularisation lambda. |
Implements xgboost::linear::FeatureSelector.