MCPcopy Create free account
hub / github.com/dmlc/xgboost / SplitIndex

Method SplitIndex

src/tree/param.h:482–482  ·  view source on GitHub ↗

!\return feature index to split on */

Source from the content-addressed store, hash-verified

480
481 /*!\return feature index to split on */
482 [[nodiscard]] bst_feature_t SplitIndex() const { return sindex & ((1U << 31) - 1U); }
483 /*!\return whether missing value goes to left branch */
484 [[nodiscard]] bool DefaultLeft() const { return (sindex >> 31) != 0; }
485 /*!

Callers 3

NeedReplaceMethod · 0.95
SplitEntryContainerClass · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected