Home
last modified time | relevance | path

Searched refs:ApproximationError (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary_test.cc78 EXPECT_EQ(summary.ApproximationError(), 0); in TEST_F()
102 EXPECT_LE(summary.ApproximationError(), 1.0 / new_size); in TEST_F()
115 double prev_eps = summary.ApproximationError(); in TEST_F()
120 EXPECT_LE(summary.ApproximationError(), prev_eps + 1.0 / new_size); in TEST_F()
153 EXPECT_LE(summary.ApproximationError(), 1.0 / new_size); in TEST_F()
173 EXPECT_EQ(summary1.ApproximationError(), 0.0); in TEST_F()
185 EXPECT_EQ(summary2.ApproximationError(), 0.0); in TEST_F()
205 EXPECT_LE(summary1.ApproximationError(), eps1); in TEST_F()
208 EXPECT_LE(summary2.ApproximationError(), eps2); in TEST_F()
213 EXPECT_LE(summary1.ApproximationError(), std::max(eps1, eps2)); in TEST_F()
Dweighted_quantiles_stream.h173 WeightType ApproximationError(int64 level = -1) const {
176 return local_summary_.ApproximationError();
191 return summary_levels_[level].ApproximationError();
Dweighted_quantiles_stream_test.cc120 EXPECT_LE(stream.ApproximationError(), eps); in TestSingleWorkerStreams()
222 EXPECT_LE(reducer_stream.ApproximationError(), eps); in TestDistributedStreams()
Dweighted_quantiles_summary.h250 float compression_eps = ApproximationError() + (1.0 / num_boundaries); in GenerateBoundaries()
299 double ApproximationError() const { in ApproximationError() function
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_summary_test.cc79 EXPECT_EQ(summary.ApproximationError(), 0); in TEST_F()
103 EXPECT_LE(summary.ApproximationError(), 1.0 / new_size); in TEST_F()
116 double prev_eps = summary.ApproximationError(); in TEST_F()
121 EXPECT_LE(summary.ApproximationError(), prev_eps + 1.0 / new_size); in TEST_F()
154 EXPECT_LE(summary.ApproximationError(), 1.0 / new_size); in TEST_F()
174 EXPECT_EQ(summary1.ApproximationError(), 0.0); in TEST_F()
186 EXPECT_EQ(summary2.ApproximationError(), 0.0); in TEST_F()
206 EXPECT_LE(summary1.ApproximationError(), eps1); in TEST_F()
209 EXPECT_LE(summary2.ApproximationError(), eps2); in TEST_F()
214 EXPECT_LE(summary1.ApproximationError(), std::max(eps1, eps2)); in TEST_F()
Dweighted_quantiles_stream.h173 WeightType ApproximationError(int64 level = -1) const {
176 return local_summary_.ApproximationError();
191 return summary_levels_[level].ApproximationError();
Dweighted_quantiles_stream_test.cc121 EXPECT_LE(stream.ApproximationError(), eps); in TestSingleWorkerStreams()
223 EXPECT_LE(reducer_stream.ApproximationError(), eps); in TestDistributedStreams()
Dweighted_quantiles_summary.h242 float compression_eps = ApproximationError() + (1.0 / num_boundaries); in GenerateBoundaries()
291 double ApproximationError() const { in ApproximationError() function