MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / Reset

Method Reset

src/treelearner/split_info.hpp:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 inline void Reset() {
131 // initialize with -1 and -inf gain
132 feature = -1;
133 gain = kMinScore;
134 }
135
136 inline bool operator > (const SplitInfo& si) const {
137 double local_gain = this->gain;

Callers 2

BeforeTrainMethod · 0.45
BeforeTrainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected