/external/ltp/testcases/realtime/lib/ |
D | libstats.c | 206 int stats_quantiles_init(stats_quantiles_t * quantiles, int nines) in stats_quantiles_init() argument 211 quantiles->nines = nines; in stats_quantiles_init() 213 quantiles->quantiles = calloc(sizeof(long), (nines - 1)); in stats_quantiles_init() 214 if (!quantiles->quantiles) { in stats_quantiles_init() 220 int stats_quantiles_free(stats_quantiles_t * quantiles) in stats_quantiles_free() argument 222 free(quantiles->quantiles); in stats_quantiles_free() 227 stats_quantiles_t * quantiles) in stats_quantiles_calc() argument 235 (data->index + 1) < (long)exp10(quantiles->nines)) { in stats_quantiles_calc() 242 for (i = 2; i <= quantiles->nines; i++) { in stats_quantiles_calc() 244 quantiles->quantiles[i - 2] = data->records[index].y; in stats_quantiles_calc() [all …]
|
/external/ltp/testcases/realtime/include/ |
D | libstats.h | 72 long *quantiles; member 126 int stats_quantiles_init(stats_quantiles_t *quantiles, int nines); 131 int stats_quantiles_free(stats_quantiles_t *quantiles); 137 int stats_quantiles_calc(stats_container_t *data, stats_quantiles_t *quantiles); 142 void stats_quantiles_print(stats_quantiles_t *quantiles);
|
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/ |
D | quantile_ops_test.py | 101 quantiles = boosted_trees_ops.boosted_trees_bucketize( 108 self.assertAllClose(self._feature_0_quantiles, quantiles[0]) 109 self.assertAllClose(self._feature_1_quantiles, quantiles[1]) 133 quantiles = boosted_trees_ops.boosted_trees_bucketize( 143 self.assertAllClose(self._feature_0_quantiles, quantiles[0]) 144 self.assertAllClose(self._feature_1_quantiles, quantiles[1]) 170 quantiles = boosted_trees_ops.boosted_trees_bucketize( 177 self.assertAllClose(self._feature_0_quantiles, quantiles[0]) 178 self.assertAllClose(self._feature_1_quantiles, quantiles[1])
|
/external/ltp/testcases/realtime/func/periodic_cpu_load/ |
D | periodic_cpu_load.c | 68 stats_quantiles_t quantiles[THREADS_PER_GROUP * NUM_GROUPS]; variable 199 stats_quantiles_init(&quantiles[i], (int)log10(iterations)); in main() 227 stats_quantiles_calc(&dat[i], &quantiles[i]); in main() 228 stats_quantiles_print(&quantiles[i]); in main() 243 stats_quantiles_free(&quantiles[i]); in main()
|
D | periodic_cpu_load_single.c | 90 stats_quantiles_t quantiles; in periodic_thread() local 102 stats_quantiles_init(&quantiles, (int)log10(iterations)); in periodic_thread() 155 stats_quantiles_calc(&dat, &quantiles); in periodic_thread() 156 stats_quantiles_print(&quantiles); in periodic_thread()
|
/external/ltp/testcases/realtime/func/sched_latency/ |
D | sched_latency.c | 76 stats_quantiles_t quantiles; variable 234 stats_quantiles_calc(&dat, &quantiles); in periodic_thread() 235 stats_quantiles_print(&quantiles); in periodic_thread() 283 if (stats_quantiles_init(&quantiles, (int)log10(iterations))) { in main() 301 stats_quantiles_free(&quantiles); in main()
|
/external/ltp/testcases/realtime/func/hrtimer-prio/ |
D | hrtimer-prio.c | 181 stats_quantiles_t quantiles; in main() local 190 if (stats_quantiles_init(&quantiles, (int)log10(iterations))) { in main() 224 stats_quantiles_calc(&dat, &quantiles); in main() 225 stats_quantiles_print(&quantiles); in main()
|
/external/ltp/testcases/realtime/func/gtod_latency/ |
D | gtod_latency.c | 235 stats_quantiles_t quantiles; in main() local 253 stats_quantiles_init(&quantiles, (int)log10(iterations)); in main() 349 stats_quantiles_calc(&dat, &quantiles); in main() 350 stats_quantiles_print(&quantiles); in main() 354 stats_quantiles_free(&quantiles); in main()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithmTest.java | 79 Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone()); in testMultipleQuantile() local 80 assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes); in testMultipleQuantile() 83 .that(quantiles.get(i)) in testMultipleQuantile()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | QuantilesAlgorithmTest.java | 79 Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone()); in testMultipleQuantile() local 80 assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes); in testMultipleQuantile() 83 .that(quantiles.get(i)) in testMultipleQuantile()
|
/external/ltp/testcases/realtime/func/pthread_kill_latency/ |
D | pthread_kill_latency.c | 121 stats_quantiles_t quantiles; in signal_receiving_thread() local 126 stats_quantiles_init(&quantiles, (int)log10(ITERATIONS)); in signal_receiving_thread() 216 stats_quantiles_calc(&dat, &quantiles); in signal_receiving_thread() 217 stats_quantiles_print(&quantiles); in signal_receiving_thread()
|
/external/python/cpython3/Lib/test/ |
D | test_statistics.py | 2228 quantiles = statistics.quantiles 2245 self.assertEqual(expected, quantiles(data, n=n)) 2246 self.assertEqual(len(quantiles(data, n=n)), n - 1) 2249 result = quantiles(map(datatype, data), n=n) 2254 self.assertEqual(quantiles(expected, n=n), expected) 2263 quantiles(data, n=n), 2264 quantiles(padded_data, n=n, method='inclusive'), 2271 act = quantiles(map(f, data), n=n) 2276 q1, q2, q3 = quantiles(data) 2283 quantiles = statistics.quantiles [all …]
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_summary_test.cc | 24 using Buffer = boosted_trees::quantiles::WeightedQuantilesBuffer<float, float>; 26 boosted_trees::quantiles::WeightedQuantilesBuffer<float, 29 boosted_trees::quantiles::WeightedQuantilesSummary<float, float>; 31 boosted_trees::quantiles::WeightedQuantilesSummary<float,
|
D | weighted_quantiles_buffer_test.cc | 25 boosted_trees::quantiles::WeightedQuantilesBuffer<double, double>; 27 boosted_trees::quantiles::WeightedQuantilesBuffer<double,
|
D | weighted_quantiles_stream_test.cc | 26 boosted_trees::quantiles::WeightedQuantilesSummary<double, double>; 28 boosted_trees::quantiles::WeightedQuantilesSummary<double, 31 boosted_trees::quantiles::WeightedQuantilesStream<double, double>;
|
D | quantile_stream_resource.h | 27 boosted_trees::quantiles::WeightedQuantilesStream<float, float>;
|
D | weighted_quantiles_buffer.h | 27 namespace quantiles {
|
D | weighted_quantiles_stream.h | 28 namespace quantiles {
|
D | weighted_quantiles_summary.h | 26 namespace quantiles {
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_BoostedTreesMakeQuantileSummaries.pbtxt | 36 summary: "Makes the summary of quantiles for the batch."
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | quantile_ops.cc | 54 boosted_trees::quantiles::WeightedQuantilesStream<float, float>; 56 boosted_trees::quantiles::WeightedQuantilesSummary<float, float>; 58 boosted_trees::quantiles::WeightedQuantilesSummary<float,
|
D | BUILD | 128 "//tensorflow/core/kernels/boosted_trees/quantiles:weighted_quantiles",
|
/external/python/cpython3/Doc/library/ |
D | statistics.rst | 55 :func:`quantiles` Divide data into intervals with equal probability. 515 .. function:: quantiles(data, *, n=4, method='exclusive') 534 The *method* for computing quantiles can be varied depending on 562 >>> [round(q, 1) for q in quantiles(data, n=10)] 689 .. method:: NormalDist.quantiles(n=4) 764 >>> list(map(round, sat.quantiles())) 766 >>> list(map(round, sat.quantiles(n=10))) 782 >>> quantiles(map(model, X, Y, Z)) # doctest: +SKIP
|
/external/python/cpython3/Lib/ |
D | statistics.py | 619 def quantiles(data, *, n=4, method='exclusive'): function 964 def quantiles(self, n=4): member in NormalDist
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a4.rst | 477 Add statistics.quantiles()
|