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

Method GetNumFeature

src/learner.cc:669–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667 }
668
669 uint32_t GetNumFeature() const override { return learner_model_param_.num_feature; }
670
671 void SetAttr(const std::string& key, const std::string& value) override {
672 attributes_[key] = value;

Callers 3

RunMethod · 0.45
TestModelSliceFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

RunMethod · 0.36
TestModelSliceFunction · 0.36
TESTFunction · 0.36