Home
last modified time | relevance | path

Searched refs:quantiles (Results 1 – 21 of 21) sorted by relevance

/external/ltp/testcases/realtime/lib/
Dlibstats.c206 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/
Dlibstats.h72 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/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c76 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/periodic_cpu_load/
Dperiodic_cpu_load.c68 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()
Dperiodic_cpu_load_single.c90 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/hrtimer-prio/
Dhrtimer-prio.c178 stats_quantiles_t quantiles; in main() local
187 if (stats_quantiles_init(&quantiles, (int)log10(iterations))) { in main()
221 stats_quantiles_calc(&dat, &quantiles); in main()
222 stats_quantiles_print(&quantiles); in main()
/external/ltp/testcases/realtime/func/gtod_latency/
Dgtod_latency.c235 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/
DQuantilesAlgorithmTest.java79 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/
DQuantilesAlgorithmTest.java79 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/
Dpthread_kill_latency.c121 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/
Dtest_statistics.py2254 quantiles = statistics.quantiles
2271 self.assertEqual(expected, quantiles(data, n=n))
2272 self.assertEqual(len(quantiles(data, n=n)), n - 1)
2275 result = quantiles(map(datatype, data), n=n)
2280 self.assertEqual(quantiles(expected, n=n), expected)
2289 quantiles(data, n=n),
2290 quantiles(padded_data, n=n, method='inclusive'),
2297 act = quantiles(map(f, data), n=n)
2302 q1, q2, q3 = quantiles(data)
2309 quantiles = statistics.quantiles
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BoostedTreesMakeQuantileSummaries.pbtxt37 summary: "Makes the summary of quantiles for the batch."
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2021-135.md27 …87cb80d975ef2b9684d4b61981bca0c41/tensorflow/core/kernels/boosted_trees/quantiles/quantile_stream_…
/external/python/cpython3/Doc/library/
Dstatistics.rst55 :func:`quantiles` Divide data into intervals with equal probability.
529 .. function:: quantiles(data, *, n=4, method='exclusive')
548 The *method* for computing quantiles can be varied depending on
576 >>> [round(q, 1) for q in quantiles(data, n=10)]
788 .. method:: NormalDist.quantiles(n=4)
863 >>> list(map(round, sat.quantiles()))
865 >>> list(map(round, sat.quantiles(n=10)))
881 >>> quantiles(map(model, X, Y, Z)) # doctest: +SKIP
Drandom.rst517 from statistics import mean, quantiles
538 print('Quartiles:', [round(q, 1) for q in quantiles(waits)])
/external/python/cpython3/Lib/
Dstatistics.py641 def quantiles(data, *, n=4, method='exclusive'): function
1111 def quantiles(self, n=4): member in NormalDist
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a4.rst477 Add statistics.quantiles()
D3.9.0a1.rst2794 The *dist* argument for statistics.quantiles() is now positional only. The
/external/python/cpython3/Doc/whatsnew/
D3.8.rst163 def quantiles(dist, /, *, n=4, method='exclusive')
1200 Added :func:`statistics.quantiles` that divides data or a distribution
/external/one-true-awk/testdir/
Dfunstack.in10974 keywords = "Chi square quantiles; probability; statistic; statistics; subroutines",
15691 …; computational complexity; computer programming; mathematics; medians; quantiles; selection; sele…
/external/crosvm/docs/book/
Dmermaid.min.js1 …):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){retur… function