| 248 | } |
| 249 | |
| 250 | ENanMode TQuantizedFeaturesInfo::GetNanMode(const TFloatFeatureIdx floatFeatureIdx) const { |
| 251 | CheckCorrectPerTypeFeatureIdx(floatFeatureIdx); |
| 252 | ENanMode nanMode = ENanMode::Forbidden; |
| 253 | if (NanModes.contains(*floatFeatureIdx)) { |
| 254 | nanMode = NanModes.at(*floatFeatureIdx); |
| 255 | } |
| 256 | return nanMode; |
| 257 | } |
| 258 | |
| 259 | ui32 TQuantizedFeaturesInfo::CalcMaxCategoricalFeaturesUniqueValuesCountOnLearn() const { |
| 260 | ui32 maxCategoricalFeaturesUniqueValuesCountOnLearn = 0; |
no test coverage detected