Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 708 for medan (0.04 sec)

  1. guava/src/com/google/common/math/Stats.java

            mean += (value - mean) / (index + 1);
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
        return mean;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
       * values. The count must be non-zero.
       *
       * <p>The definition of the mean is the same as {@link Stats#mean}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

          }
        } else {
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16)
            double delta = value - mean;
            mean += delta / count;
            sumOfSquaresOfDeltas += delta * (value - mean);
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
            sumOfSquaresOfDeltas = NaN;
          }
          min = Math.min(min, value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleMath.java

       */
      @Deprecated
      public static double mean(long... values) {
        checkArgument(values.length > 0, "Cannot take mean of 0 values");
        long count = 1;
        double mean = values[0];
        for (int index = 1; index < values.length; ++index) {
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/DoubleMath.java

       */
      @Deprecated
      public static double mean(long... values) {
        checkArgument(values.length > 0, "Cannot take mean of 0 values");
        long count = 1;
        double mean = values[0];
        for (int index = 1; index < values.length; ++index) {
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            twoValuesAccumulator.xStats().mean(),
            twoValuesAccumulator.yStats().mean(),
            twoValuesAccumulator.xStats().populationVariance(),
            twoValuesAccumulator.populationCovariance());
        assertDiagonalLinearTransformation(
            twoValuesAccumulatorByAddAllPartitionedPairedStats.leastSquaresFit(),
            twoValuesAccumulatorByAddAllPartitionedPairedStats.xStats().mean(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  6. src/math/rand/rand_test.go

    // checkSimilarDistribution returns success if the mean and stddev of the
    // two statsResults are similar.
    func (sr *statsResults) checkSimilarDistribution(expected *statsResults) error {
    	if !nearEqual(sr.mean, expected.mean, expected.closeEnough, expected.maxError) {
    		s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", sr.mean, expected.mean, expected.closeEnough, expected.maxError)
    		fmt.Println(s)
    		return errors.New(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          DoubleMath.mean(Double.POSITIVE_INFINITY);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double mean = accumulator.mean();
          double meanByAddAllStats = accumulatorByAddAllStats.mean();
          if (values.hasAnyNaN()) {
            assertWithMessage("mean of " + values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 34K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

    // CHECK-SAME: %[[X:[^:[:space:]]+]]
    // CHECK-SAME: %[[SCALE:[^:[:space:]]+]]
    // CHECK-SAME: %[[OFFSET:[^:[:space:]]+]]
    // CHECK-SAME: %[[MEAN:[^:[:space:]]+]]
    // CHECK-SAME: %[[VARIANCE:[^:[:space:]]+]]
    func.func @unfuse_batch_norm(
        %x: tensor<4x256xf32>, %scale: tensor<256xf32>, %offset: tensor<256xf32>,
        %mean: tensor<256xf32>, %variance: tensor<256xf32>)
        -> (tensor<4x256xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

    import java.util.stream.Collectors;
    
    /**
     * A collection of measurements of some given units.
     */
    public class DataSeries<Q> extends ArrayList<Amount<Q>> {
        private final Amount<Q> average;
        private final Amount<Q> median;
        private final Amount<Q> max;
        private final Amount<Q> min;
        // https://en.wikipedia.org/wiki/Standard_error
        private final Amount<Q> standardError;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top