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

Method GetFeatureTypes

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

Source from the content-addressed store, hash-verified

695 void SetFeatureTypes(std::vector<std::string> const& ft) override { this->feature_types_ = ft; }
696
697 void GetFeatureTypes(std::vector<std::string>* p_ft) const override {
698 auto& ft = *p_ft;
699 ft = this->feature_types_;
700 }
701 [[nodiscard]] CatContainer const* Cats() const override {
702 this->CheckModelInitialized();
703 return this->gbm_->Cats();

Callers 3

GenerateFeatureMapFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64