| 1149 | |
| 1150 | template <EPenaltyType PenaltyType> |
| 1151 | TQuantization TExactBinarizer<PenaltyType>::BestSplit( |
| 1152 | TFeatureValues&& features, |
| 1153 | int maxBordersCount, |
| 1154 | TMaybe<float> quantizedDefaultBinFraction, |
| 1155 | const TMaybe<TVector<float>>& initialBorders) const { |
| 1156 | |
| 1157 | return SplitWithGuaranteedOptimum<PenaltyType>( |
| 1158 | std::move(features), |
| 1159 | initialBorders, |
| 1160 | maxBordersCount, |
| 1161 | quantizedDefaultBinFraction); |
| 1162 | } |
| 1163 | |
| 1164 | |
| 1165 | static void SortValuesAndInsertDefault( |
no test coverage detected