| 126 | } |
| 127 | |
| 128 | void 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 | |
| 138 | void LoadTrainingData(NCB::TPathWithScheme poolPath, |
| 139 | NCB::TPathWithScheme cdFilePath, |
no outgoing calls
no test coverage detected