Home
last modified time | relevance | path

Searched refs:variance (Results 1 – 25 of 76) sorted by relevance

1234

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DStandardDeviation.java48 private Variance variance = null; field in StandardDeviation
55 variance = new Variance(); in StandardDeviation()
64 variance = new Variance(m2); in StandardDeviation()
88 variance = new Variance(isBiasCorrected); in StandardDeviation()
103 variance = new Variance(isBiasCorrected, m2); in StandardDeviation()
111 variance.increment(d); in increment()
118 return variance.getN(); in getN()
126 return FastMath.sqrt(variance.getResult()); in getResult()
134 variance.clear(); in clear()
153 return FastMath.sqrt(variance.evaluate(values)); in evaluate()
[all …]
DKurtosis.java111 double variance = moment.m2 / (moment.n - 1); in getResult() local
112 if (moment.n <= 3 || variance < 10E-20) { in getResult()
119 ((n - 1) * (n -2) * (n -3) * variance * variance); in getResult()
171 Variance variance = new Variance(); in evaluate() local
172 variance.incrementAll(values, begin, length); in evaluate()
173 double mean = variance.moment.m1; in evaluate()
174 double stdDev = FastMath.sqrt(variance.getResult()); in evaluate()
DSkewness.java107 double variance = moment.m2 / (moment.n - 1); in getResult() local
108 if (variance < 10E-20) { in getResult()
113 ((n0 - 1) * (n0 -2) * FastMath.sqrt(variance) * variance); in getResult()
172 final double variance = (accum - (accum2 * accum2 / length)) / (length - 1); in evaluate() local
179 accum3 /= variance * FastMath.sqrt(variance); in evaluate()
/external/guava/guava-tests/benchmark/com/google/common/math/
DStatsBenchmark.java75 private final double variance; field in StatsBenchmark.MeanAndVariance
77 MeanAndVariance(double mean, double variance) { in MeanAndVariance() argument
79 this.variance = variance; in MeanAndVariance()
84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance); in hashCode()
91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
126 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance() method
141 abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm); in variance() method in StatsBenchmark.VarianceAlgorithm
168 tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode(); in meanAndVariance()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils_unittest.cc87 EXPECT_EQ(0, variance_array.variance()[0]); in TEST()
90 EXPECT_EQ(0, variance_array.variance()[0]); in TEST()
100 EXPECT_GE(variance_array.variance()[j], 0.0f); in TEST()
101 EXPECT_LE(variance_array.variance()[j], 1.0f); in TEST()
105 EXPECT_EQ(0, variance_array.variance()[0]); in TEST()
141 EXPECT_EQ(0, variance_array.variance()[j]); in TEST()
143 EXPECT_NEAR(kTestVarianceBufferNotFull, variance_array.variance()[j], in TEST()
146 EXPECT_NEAR(kTestVarianceBufferFull1, variance_array.variance()[j], in TEST()
149 EXPECT_NEAR(kTestVarianceBufferFull2, variance_array.variance()[j], in TEST()
152 EXPECT_EQ(0, variance_array.variance()[j]); in TEST()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DStatisticalSummaryValues.java39 private final double variance; field in StatisticalSummaryValues
63 public StatisticalSummaryValues(double mean, double variance, long n, in StatisticalSummaryValues() argument
67 this.variance = variance; in StatisticalSummaryValues()
113 return FastMath.sqrt(variance); in getStandardDeviation()
120 return variance; in getVariance()
DAggregateSummaryStatistics.java332 final double variance; in aggregate() local
334 variance = Double.NaN; in aggregate()
336 variance = 0d; in aggregate()
338 variance = m2 / (n - 1); in aggregate()
340 return new StatisticalSummaryValues(mean, variance, n, max, min, sum); in aggregate()
DSummaryStatistics.java92 protected Variance variance = new Variance(); field in SummaryStatistics
116 private StorelessUnivariateStatistic varianceImpl = variance;
237 if (varianceImpl == variance) { in getVariance()
344 if (varianceImpl != variance) { in clear()
701 if (source.variance == source.varianceImpl) { in copy()
702 dest.variance = (Variance) dest.varianceImpl; in copy()
704 Variance.copy(source.variance, dest.variance); in copy()
/external/webrtc/webrtc/modules/audio_processing/test/
Dtest_utils.h107 float ComputeSNR(const T* ref, const T* test, size_t length, float* variance) { in ComputeSNR() argument
110 *variance = 0; in ComputeSNR()
114 *variance += ref[i] * ref[i]; in ComputeSNR()
118 *variance /= length; in ComputeSNR()
120 *variance -= mean * mean; in ComputeSNR()
124 snr = 10 * log10(*variance / mse); in ComputeSNR()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTTestImpl.java191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed), in t()
256 StatUtils.variance(sample1), StatUtils.variance(sample2), in homoscedasticT()
293 StatUtils.variance(sample1), StatUtils.variance(sample2), in t()
412 return tTest( StatUtils.mean(sample), mu, StatUtils.variance(sample), in tTest()
576 StatUtils.variance(sample1), StatUtils.variance(sample2), in tTest()
618 StatUtils.mean(sample2), StatUtils.variance(sample1), in homoscedasticTTest()
619 StatUtils.variance(sample2), sample1.length, in homoscedasticTTest()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_blockiness.c23 static int variance(int sum, int sum_squared, int size) { in variance() function
70 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_vertical()
71 var_1 = variance(sum_1, sum_sq_1, size); in blockiness_vertical()
102 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_horizontal()
103 var_1 = variance(sum_1, sum_sq_1, size); in blockiness_horizontal()
Dvp9_noise_estimate.c216 unsigned int variance = cpi->fn_ptr[bsize].vf( in vp9_update_noise_estimate() local
221 if ((sse - variance) < thresh_sum_diff) { in vp9_update_noise_estimate()
228 avg_est += low_res ? variance >> 4 in vp9_update_noise_estimate()
229 : variance / ((spatial_variance >> 9) + 1); in vp9_update_noise_estimate()
/external/autotest/server/tests/netpipe/
Dcontrol.srv19 variance - NetPIPE chooses the message sizes at regular intervals,
32 variance = 17
36 upper_bound=upper_bound, variance=variance)
Dnetpipe.py7 def run_once(self, pair, buffer, upper_bound, variance): argument
43 buffer, upper_bound, variance,
46 buffer, upper_bound, variance,
Dcontrol.stress.srv21 variance - NetPIPE chooses the message sizes at regular intervals,
43 variance = 17
50 upper_bound=upper_bound, variance=variance)
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc58 float variance = 0; in ComputeSNR() local
64 variance += ref.channels()[i][j] * ref.channels()[i][j]; in ComputeSNR()
71 variance /= length; in ComputeSNR()
73 variance -= mean * mean; in ComputeSNR()
76 snr = 10 * std::log10(variance / mse); in ComputeSNR()
/external/libmpeg2/common/arm/
Dicv_variance_a9.s26 @* This file contains definitions of routines for variance caclulation
42 @* @brief computes variance of a 8x4 block
46 @* This functions computes variance of a 8x4 block
61 @* variance value in r0
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js43 return {mean : meanA, variance : accu / a.length};
70 var sigmaX2 = statsX.variance;
74 var sigmaY2 = statsY.variance;
/external/autotest/client/site_tests/video_WebRtcCamera/
Dssim.js43 return {mean : meanA, variance : accu / a.length};
70 var sigmaX2 = statsX.variance;
74 var sigmaY2 = statsY.variance;
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dvideo_sync_test.cc66 float variance = 0; in ComputeStandardDeviation() local
68 variance += (*start - mean) * (*start - mean) / (num_elements - 1); in ComputeStandardDeviation()
70 return sqrt(variance); in ComputeStandardDeviation()
/external/autotest/client/common_lib/cros/
Dperf_stat_lib.py73 variance = sum([(elem - mean) ** 2 for elem in num_list]) / (n -1)
74 return round(sqrt(variance), 2)
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DStatUtils.java315 public static double variance(final double[] values) { in variance() method in StatUtils
339 public static double variance(final double[] values, final int begin, in variance() method in StatUtils
370 public static double variance(final double[] values, final double mean, in variance() method in StatUtils
397 public static double variance(final double[] values, final double mean) { in variance() method in StatUtils
/external/ImageMagick/MagickCore/
Dfeature.c652 variance; in GetImageFeatures() local
840 (void) ResetMagickMemory(&variance,0,sizeof(variance)); in GetImageFeatures()
1356 variance.direction[i].red+=(y-mean.direction[i].red+1)* in GetImageFeatures()
1358 variance.direction[i].green+=(y-mean.direction[i].green+1)* in GetImageFeatures()
1360 variance.direction[i].blue+=(y-mean.direction[i].blue+1)* in GetImageFeatures()
1363 variance.direction[i].black+=(y-mean.direction[i].black+1)* in GetImageFeatures()
1366 variance.direction[i].alpha+=(y-mean.direction[i].alpha+1)* in GetImageFeatures()
1435 variance.direction[i].red; in GetImageFeatures()
1437 variance.direction[i].green; in GetImageFeatures()
1439 variance.direction[i].blue; in GetImageFeatures()
[all …]
/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc98 float variance = 0; in ComputeSNR() local
103 variance += ref_frame.data_[i] * ref_frame.data_[i]; in ComputeSNR()
107 snr = 10 * log10(variance / mse); in ComputeSNR()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java219 final double variance = stat.getResult(); in getPointFromLargestVarianceCluster() local
222 if (variance > maxVariance) { in getPointFromLargestVarianceCluster()
223 maxVariance = variance; in getPointFromLargestVarianceCluster()

1234