Home
last modified time | relevance | path

Searched refs:ComputeWeightedMean (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
Drollingaccumulator_unittest.cc41 EXPECT_NEAR(2.26666, accum.ComputeWeightedMean(kLearningRate), 0.01); in TEST()
56 EXPECT_NEAR(10.0, accum.ComputeWeightedMean(kLearningRate), 0.01); in TEST()
96 EXPECT_NEAR(105.049, accum.ComputeWeightedMean(kLearningRate), 0.1); in TEST()
104 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(kLearningRate)); in TEST()
105 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(0.0)); in TEST()
106 EXPECT_DOUBLE_EQ(0.0, accum.ComputeWeightedMean(1.1)); in TEST()
113 EXPECT_DOUBLE_EQ(3.5, accum.ComputeWeightedMean(0)); in TEST()
114 EXPECT_DOUBLE_EQ(3.5, accum.ComputeWeightedMean(1.1)); in TEST()
115 EXPECT_NEAR(6.0, accum.ComputeWeightedMean(kLearningRate), 0.1); in TEST()
Drollingaccumulator.h125 double ComputeWeightedMean(double learning_rate) const { in ComputeWeightedMean() function