| 149 | } |
| 150 | |
| 151 | static bool HasInvalidValues(const TVector<TVector<double>>& treeLeafValues) { |
| 152 | for (const auto& leafValuesDimension : treeLeafValues) { |
| 153 | for (double leafValueCoord : leafValuesDimension) { |
| 154 | if (!IsValidFloat(leafValueCoord)) { |
| 155 | return true; |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | return false; |
| 160 | } |
| 161 | |
| 162 | namespace { |
| 163 | struct TMetricsData { |