Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for quantiles (0.25 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

         */
        public ScaleAndIndex index(int index) {
          return new ScaleAndIndex(scale, index);
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
         *
         * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(SIXTEEN_SQUARES_DOUBLES);
      }
    
      public void testQuartiles_indexes_varargs_compute_doubleCollection() {
        assertThat(quartiles().indexes(1, 3).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(1, SIXTEEN_SQUARES_QUARTILE_1, 3, SIXTEEN_SQUARES_QUARTILE_3);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(SIXTEEN_SQUARES_DOUBLES);
      }
    
      public void testQuartiles_indexes_varargs_compute_doubleCollection() {
        assertThat(quartiles().indexes(1, 3).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(1, SIXTEEN_SQUARES_QUARTILE_1, 3, SIXTEEN_SQUARES_QUARTILE_3);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        }
      },
      ;
    
      /**
       * Calculates a single quantile. Equivalent to {@code
       * Quantiles.scale(scale).index(index).computeInPlace(dataset)}.
       */
      abstract double singleQuantile(int index, int scale, double[] dataset);
    
      /**
       * Calculates multiple quantiles. Equivalent to {@code
       * Quantiles.scale(scale).indexes(indexes).computeInPlace(dataset)}.
       */
      abstract Map<Integer, Double> multipleQuantiles(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        }
      },
      ;
    
      /**
       * Calculates a single quantile. Equivalent to {@code
       * Quantiles.scale(scale).index(index).computeInPlace(dataset)}.
       */
      abstract double singleQuantile(int index, int scale, double[] dataset);
    
      /**
       * Calculates multiple quantiles. Equivalent to {@code
       * Quantiles.scale(scale).indexes(indexes).computeInPlace(dataset)}.
       */
      abstract Map<Integer, Double> multipleQuantiles(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
            assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i)
                .that(quantiles.get(i))
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
            assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i)
                .that(quantiles.get(i))
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Range;
    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Range;
    import java.util.Random;
    
    /** Benchmarks some algorithms providing the same functionality as {@link Quantiles}. */
    public class QuantilesBenchmark {
    
      private static final ContiguousSet<Integer> ALL_DECILE_INDEXES =
          ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  10. cmd/admin-server-info.go

    				}
    			}
    		}
    	}
    
    	var memstats runtime.MemStats
    	runtime.ReadMemStats(&memstats)
    
    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top