MCPcopy Create free account
hub / github.com/catboost/catboost / ToHistogramPointsAndBins

Method ToHistogramPointsAndBins

library/cpp/expression/expression_variable.cpp:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356THistogramPointsAndBins TExpressionVariable::ToHistogramPointsAndBins() const {
357 if (HasHistogramPointsAndBinsValue) {
358 return HistogramPointsAndBinsValue;
359 }
360 if (HasStrValue && TryParseFromStringToTHistogramPointsAndBins(HistogramPointsAndBinsValue)) {
361 HasHistogramPointsAndBinsValue = true;
362 return HistogramPointsAndBinsValue;
363 }
364 return THistogramPointsAndBins();
365}
366
367
368bool TExpressionVariable::IsZeroDoubleValue() const {

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 1

Tested by

no test coverage detected