Home
last modified time | relevance | path

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

12345

/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/opencv3/modules/flann/include/opencv2/flann/
Dkmeans_index.h537 DistanceType variance; in getClusterCenters() local
540 int clusterCount = getMinVarianceClusters(root_, clusters, numClusters, variance); in getClusterCenters()
582 DistanceType variance; member
670 DistanceType variance = 0; in computeNodeStatistics() local
681 variance += distance_(vec, ZeroIterator<ElementType>(), veclen_); in computeNodeStatistics()
686 variance /= size_; in computeNodeStatistics()
687 variance -= distance_(mean, ZeroIterator<ElementType>(), veclen_); in computeNodeStatistics()
697 node->variance = variance; in computeNodeStatistics()
850 DistanceType variance = 0; in computeClustering() local
855 variance += d; in computeClustering()
[all …]
/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()
/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp206 bg_model->g_point[n].g_values[0].variance[m] = var_init; in cvCreateGaussianBGModel()
214 bg_model->g_point[n].g_values[k].variance[m] = var_init; in cvCreateGaussianBGModel()
390 var_threshold += g_point->g_values[k].variance[m]; in icvMatchTest()
452 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m]+ in icvUpdateFullWindow()
453 (learning_rate_gaussian*((tmpDiff*tmpDiff) - g_point->g_values[k].variance[m])); in icvUpdateFullWindow()
483 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m]+ in icvUpdatePartialWindow()
484 (learning_rate_gaussian*((tmpDiff*tmpDiff) - g_point->g_values[k].variance[m])); in icvUpdatePartialWindow()
510 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdateFullNoMatch()
543 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdatePartialNoMatch()
565 variance_sum += g_point->g_values[k].variance[m]; in icvGetSortKey()
/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/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedCode128Reader.cpp111 int32_t variance = PatternMatchVariance( in FindStartPattern() local
113 if (variance < bestVariance) { in FindStartPattern()
114 bestVariance = variance; in FindStartPattern()
158 int32_t variance = PatternMatchVariance(counters, &CODE_PATTERNS[d][0], in DecodeCode() local
160 if (variance < bestVariance) { in DecodeCode()
161 bestVariance = variance; in DecodeCode()
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_box_set.cpp41 btVector3 variance(btScalar(0.),btScalar(0.),btScalar(0.)); in _calc_splitting_axis() local
58 variance += diff2; in _calc_splitting_axis()
60 variance *= (btScalar(1.)/ ((btScalar)numIndices-1) ); in _calc_splitting_axis()
62 return variance.maxAxis(); in _calc_splitting_axis()
/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/chromium-trace/catapult/telemetry/telemetry/value/
Dlist_of_scalar_values.py53 variance = list_of_variances[i] if list_of_variances else Variance(l)
54 pooled_variance += k * variance
103 def variance(self): member in ListOfScalarValues
218 list_of_samples, list_of_variances=[v.variance for v in values])
/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

12345