Searched refs:ApproximationError (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_summary_test.cc | 78 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()
|
D | weighted_quantiles_stream.h | 173 WeightType ApproximationError(int64 level = -1) const { 176 return local_summary_.ApproximationError(); 191 return summary_levels_[level].ApproximationError();
|
D | weighted_quantiles_stream_test.cc | 120 EXPECT_LE(stream.ApproximationError(), eps); in TestSingleWorkerStreams() 222 EXPECT_LE(reducer_stream.ApproximationError(), eps); in TestDistributedStreams()
|
D | weighted_quantiles_summary.h | 250 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/ |
D | weighted_quantiles_summary_test.cc | 79 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()
|
D | weighted_quantiles_stream.h | 173 WeightType ApproximationError(int64 level = -1) const { 176 return local_summary_.ApproximationError(); 191 return summary_levels_[level].ApproximationError();
|
D | weighted_quantiles_stream_test.cc | 121 EXPECT_LE(stream.ApproximationError(), eps); in TestSingleWorkerStreams() 223 EXPECT_LE(reducer_stream.ApproximationError(), eps); in TestDistributedStreams()
|
D | weighted_quantiles_summary.h | 242 float compression_eps = ApproximationError() + (1.0 / num_boundaries); in GenerateBoundaries() 291 double ApproximationError() const { in ApproximationError() function
|