MCPcopy Create free account
hub / github.com/catboost/catboost / SavePoolCDToFile

Function SavePoolCDToFile

catboost/cuda/ut_helpers/test_utils.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void SavePoolCDToFile(const char* filename, ui32 catFeatures) {
129 TOFStream output(filename);
130 output << "0\tQueryId" << Endl;
131 output << "1\tTarget" << Endl;
132 output << "2\tAuxiliary" << Endl;
133 for (ui32 i = 0; i < catFeatures; ++i) {
134 output << (3 + i) << "\tCateg" << Endl;
135 }
136}
137
138void LoadTrainingData(NCB::TPathWithScheme poolPath,
139 NCB::TPathWithScheme cdFilePath,

Callers 8

TestDatasetHolderBuilderFunction · 0.85
TestTreeBuilderFunction · 0.85
RunTestsFunction · 0.85
RunTestsFunction · 0.85
RunTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected