- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for singleQuantile (0.2 sec)
-
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
} } public void testSingleQuantile_median() { double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone()); for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) { assertWithMessage("Mismatch between %s and %s", algorithm, REFERENCE_ALGORITHM) .that(algorithm.singleQuantile(1, 2, dataset.clone())) .isWithin(ALLOWED_ERROR) .of(referenceValue); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
double median(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(1, 2, dataset(i)); } return dummy; } @Benchmark double percentile90(int reps) { double dummy = 0.0; for (int i = 0; i < reps; i++) { dummy += algorithm.singleQuantile(90, 100, dataset(i)); } return dummy; } @Benchmark double percentile99(int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0)