only one of classLabelsInt64 or classLabelsString returned nonempty
| 148 | |
| 149 | // only one of classLabelsInt64 or classLabelsString returned nonempty |
| 150 | static void GetClassLabels( |
| 151 | const TFullModel& model, |
| 152 | TVector<i64>* classLabelsInt64, |
| 153 | TVector<TString>* classLabelsString) { |
| 154 | |
| 155 | classLabelsInt64->clear(); |
| 156 | classLabelsString->clear(); |
| 157 | |
| 158 | const TVector<NJson::TJsonValue> classLabels = model.GetModelClassLabels(); |
| 159 | if (!classLabels.empty()) { |
| 160 | GetClassLabelsImpl(classLabels, classLabelsInt64, classLabelsString); |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | |
| 165 | static void InitValueInfo( |
no test coverage detected