HomeSort by relevance Sort by last modified time
    Searched refs:variance (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
StandardDeviation.java 26 * is the positive square root of the variance. This implementation wraps a
27 * {@link Variance} instance. The <code>isBiasCorrected</code> property of the
28 * wrapped Variance instance is exposed, so that this class can be used to
30 * bias-corrected "sample variance") or the "population standard deviation"
31 * (the square root of the non-bias-corrected "population variance"). See
32 * {@link Variance} for more information.
47 /** Wrapped Variance instance */
48 private Variance variance = null; field in class:StandardDeviation
51 * Constructs a StandardDeviation. Sets the underlying {@link Variance}
    [all...]
Kurtosis.java 111 double variance = moment.m2 / (moment.n - 1); local
112 if (moment.n <= 3 || variance < 10E-20) {
119 ((n - 1) * (n -2) * (n -3) * variance * variance);
171 Variance variance = new Variance(); local
172 variance.incrementAll(values, begin, length);
173 double mean = variance.moment.m1;
174 double stdDev = FastMath.sqrt(variance.getResult())
    [all...]
Skewness.java 107 double variance = moment.m2 / (moment.n - 1); local
108 if (variance < 10E-20) {
113 ((n0 - 1) * (n0 -2) * FastMath.sqrt(variance) * variance);
172 final double variance = (accum - (accum2 * accum2 / length)) / (length - 1); local
179 accum3 /= variance * FastMath.sqrt(variance);
  /frameworks/av/media/libcpustats/
CentralTendencyStatistics.cpp 52 double CentralTendencyStatistics::variance() const function in class:CentralTendencyStatistics
54 double variance; local
58 variance = mM2 / (mN - 1);
60 variance = NAN;
62 mVariance = variance;
65 variance = mVariance;
67 return variance;
74 stddev = sqrt(variance());
  /external/linux-tools-perf/src/tools/perf/util/
stat.c 44 double variance, variance_mean; local
49 variance = stats->M2 / (stats->n - 1);
50 variance_mean = variance / stats->n;
  /cts/libs/commonutil/src/com/android/cts/util/
StatisticsUtilsTest.java 77 double variance = StatisticsUtils.getVariance(values); local
78 assertEquals(2.5, variance, 0.00001);
81 variance = StatisticsUtils.getVariance(values);
82 assertEquals(2.5, variance, 0.00001);
85 variance = StatisticsUtils.getVariance(values);
86 assertEquals(10.0, variance, 0.00001);
  /external/guava/guava-tests/benchmark/com/google/common/math/
StatsBenchmark.java 28 * Benchmarks for various algorithms for computing the mean and/or variance.
75 private final double variance; field in class:StatsBenchmark.MeanAndVariance
77 MeanAndVariance(double mean, double variance) {
79 this.variance = variance;
84 return Doubles.hashCode(mean) * 31 + Doubles.hashCode(variance);
91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method
97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method
109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { method
126 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) method
141 abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm); method in class:StatsBenchmark.VarianceAlgorithm
    [all...]
  /external/lldb/tools/lldb-perf/lib/
Metric.cpp 76 T variance; local
78 variance = M2 / n;
80 variance = M2 / (n - 1);
81 return sqrt(variance);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
StatisticalSummaryValues.java 38 /** The sample variance */
39 private final double variance; field in class:StatisticalSummaryValues
57 * @param variance the sample variance
63 public StatisticalSummaryValues(double mean, double variance, long n,
67 this.variance = variance;
113 return FastMath.sqrt(variance);
117 * @return Returns the variance.
120 return variance;
    [all...]
AggregateSummaryStatistics.java 198 * {@inheritDoc}. This version returns the variance of all the aggregated
332 final double variance; local
334 variance = Double.NaN;
336 variance = 0d;
338 variance = m2 / (n - 1);
340 return new StatisticalSummaryValues(mean, variance, n, max, min, sum);
SummaryStatistics.java 26 import org.apache.commons.math.stat.descriptive.moment.Variance;
45 * default implementation for the variance can be overridden by calling
67 /** SecondMoment is used to compute the mean and variance */
91 /** variance of values that have been added */
92 protected Variance variance = new Variance(); field in class:SummaryStatistics
115 /** Variance statistic implementation - can be reset by setter. */
116 private StorelessUnivariateStatistic varianceImpl = variance;
154 // If mean, variance or geomean have been overridden
    [all...]
  /frameworks/av/include/cpustats/
CentralTendencyStatistics.h 45 // return the variance of all samples so far
46 double variance() const;
65 // cached variance, and n at time of caching
  /hardware/intel/common/libva/va/vendor/intel/
va_intel_statistics.h 41 * number of non-zero coefficients, MB variance and MB pixel average.
156 unsigned int variance; member in struct:_VAStatsStatistics16x16Intel
  /external/libvpx/libvpx/vp9/encoder/
vp9_variance.c 21 void variance(const uint8_t *a, int a_stride, function
117 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \
162 variance(src_ptr, source_stride, ref_ptr, ref_stride, 16, 16, sse, sum);
168 variance(src_ptr, source_stride, ref_ptr, ref_stride, 8, 8, sse, sum);
175 variance(src, src_stride, ref, ref_stride, 16, 16, sse, &sum);
183 variance(src, src_stride, ref, ref_stride, 16, 8, sse, &sum);
191 variance(src, src_stride, ref, ref_stride, 8, 16, sse, &sum);
199 variance(src, src_stride, ref, ref_stride, 8, 8, sse, &sum);
vp9_variance.h 20 void variance(const uint8_t *a, int a_stride,
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
TTestImpl.java 191 return t(StatUtils.mean(observed), mu, StatUtils.variance(observed),
235 * and <strong><code>var</code></strong> is the pooled variance estimate:
239 * with <strong><code>var1<code></strong> the variance of the first sample and
240 * <strong><code>var2</code></strong> the variance of the second sample.
256 StatUtils.variance(sample1), StatUtils.variance(sample2),
276 * <strong><code> var1</code></strong> is the variance of the first sample;
277 * <strong><code> var2</code></strong> is the variance of the second sample;
293 StatUtils.variance(sample1), StatUtils.variance(sample2)
    [all...]
  /external/libvpx/libvpx/vp8/common/
variance_c.c 12 #include "variance.h"
34 static void variance( function
76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg);
108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg);
125 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 8, &var, &avg);
141 variance(src_ptr, source_stride, ref_ptr, recon_stride, 4, 4, &var, &avg);
157 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
variance_c.c 12 #include "variance.h"
34 static void variance( function
76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg);
108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg);
125 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 8, &var, &avg);
141 variance(src_ptr, source_stride, ref_ptr, recon_stride, 4, 4, &var, &avg);
157 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
vp9_variance.c 21 void variance(const uint8_t *src_ptr, function
174 variance(src_ptr, source_stride, ref_ptr, recon_stride, 64, 32, &var, &avg);
231 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 64, &var, &avg);
288 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 16, &var, &avg);
345 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 32, &var, &avg);
402 variance(src_ptr, source_stride, ref_ptr, recon_stride, 64, 64, &var, &avg);
415 variance(src_ptr, source_stride, ref_ptr, recon_stride, 32, 32, &var, &avg);
428 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg);
441 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg);
454 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg)
    [all...]
vp9_variance.h 20 void variance(const uint8_t *src_ptr,
  /external/opencv/cvaux/src/
cvbgfg_gaussmix.cpp 79 icvMatchTest(...) assumes what all color channels component exhibit the same variance
120 //Rw is the learning rate for weight and Rg is leaning rate for mean and variance
126 //The list is maintained in sorted order using w/sqrt(variance) as a key
132 //v[n+1] = v[n] + Rg*((x[n+1] - u[n])*(x[n+1] - u[n])) - v[n]) variance
206 bg_model->g_point[n].g_values[0].variance[m] = var_init;
214 bg_model->g_point[n].g_values[k].variance[m] = var_init;
390 var_threshold += g_point->g_values[k].variance[m];
420 sum_d2 += (d*d) / (g_point->g_values[k].variance[m] * g_point->g_values[k].variance[m]);
452 g_point->g_values[k].variance[m] = g_point->g_values[k].variance[m]
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
StatUtils.java 25 import org.apache.commons.math.stat.descriptive.moment.Variance;
63 /** variance */
64 private static final Variance VARIANCE = new Variance();
301 * Returns the variance of the entries in the input array, or
304 * See {@link org.apache.commons.math.stat.descriptive.moment.Variance} for
312 * @return the variance of the values or Double.NaN if the array is empty
315 public static double variance(final double[] values) { method in class:StatUtils
316 return VARIANCE.evaluate(values)
339 public static double variance(final double[] values, final int begin, method in class:StatUtils
370 public static double variance(final double[] values, final double mean, method in class:StatUtils
397 public static double variance(final double[] values, final double mean) { method in class:StatUtils
    [all...]
  /cts/apps/CameraITS/tests/scene1/
test_param_noise_reduction.py 33 Also captures an image with low gain and NR off, and uses the variance
43 # Reference (baseline) variance for each of Y,U,V.
91 variance = its.image.compute_image_variances(tile)[0]
92 variances[j].append(variance / ref_variance[j])
103 # Smaller variance is better
test_reprocess_noise_reduction.py 36 variance of this as the baseline.
104 variance = its.image.compute_image_variances(tile)
106 [variance[chan] / ref_variance[chan] for chan in range(3)])
122 # Smaller variance is better
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
Covariance.java 24 import org.apache.commons.math.stat.descriptive.moment.Variance;
162 Variance variance = new Variance(biasCorrected); local
170 outMatrix.setEntry(i, i, variance.evaluate(matrix.getColumn(i)));

Completed in 929 milliseconds

1 2 3