Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 547 for variance (0.1 seconds)

  1. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
        @Override
        public int hashCode() {
          return Double.hashCode(mean) * 31 + Double.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
        @Override
        public int hashCode() {
          return Double.hashCode(mean) * 31 + Double.hashCode(variance);
        }
      }
    
      enum VarianceAlgorithm {
        DO_NOT_COMPUTE {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       * either the {@code x} or {@code y} data must have a non-zero population variance (i.e. {@code
       * xStats().populationVariance() > 0.0 || yStats().populationVariance() > 0.0}). The result is
       * guaranteed to be horizontal if there is variance in the {@code x} data but not the {@code y}
       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/PairedStats.java

       * either the {@code x} or {@code y} data must have a non-zero population variance (i.e. {@code
       * xStats().populationVariance() > 0.0 || yStats().populationVariance() > 0.0}). The result is
       * guaranteed to be horizontal if there is variance in the {@code x} data but not the {@code y}
       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/Stats.java

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

        return Math.sqrt(populationVariance());
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Sample_variance">unbiased sample
       * variance</a> of the values. If this dataset is a sample drawn from a population, this is an
       * unbiased estimator of the population variance of the population. The count must be greater than
       * one.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    double variance = (maxTime - minTime) / avgTime;
                    // JVM timing in concurrent scenarios is inherently variable
                    // We verify implementation correctness rather than precise timing
                    assertTrue(variance < 50.0,
                            String.format(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of %s", values)
                .that(populationVarianceByAddAllStats)
                .isNaN();
          } else {
            assertWithMessage("population variance of %s", values)
                .that(populationVariance)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  9. benchmarks/README.md

    ### Do
    
    * Ensure that the system executing your microbenchmarks has as little load as possible. Shutdown every process that can cause unnecessary
      runtime jitter. Watch the `Error` column in the benchmark results to see the run-to-run variance.
    * Ensure to run enough warmup iterations to get the benchmark into a stable state. If you are unsure, don't change the defaults.
    * Avoid CPU migrations by pinning your benchmarks to specific CPU cores. On Linux you can use `taskset`.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of %s", values)
                .that(populationVarianceByAddAllStats)
                .isNaN();
          } else {
            assertWithMessage("population variance of %s", values)
                .that(populationVariance)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
Back to Top