Home
last modified time | relevance | path

Searched refs:median (Results 1 – 25 of 106) sorted by relevance

12345

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DCauchyDistributionImpl.java46 private double median = 0; field in CauchyDistributionImpl
67 public CauchyDistributionImpl(double median, double s){ in CauchyDistributionImpl() argument
68 this(median, s, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); in CauchyDistributionImpl()
79 public CauchyDistributionImpl(double median, double s, double inverseCumAccuracy) { in CauchyDistributionImpl() argument
81 setMedianInternal(median); in CauchyDistributionImpl()
92 return 0.5 + (FastMath.atan((x - median) / scale) / FastMath.PI); in cumulativeProbability()
100 return median; in getMedian()
120 final double dev = x - median; in density()
147 ret = median + scale * FastMath.tan(FastMath.PI * (p - .5)); in inverseCumulativeProbability()
158 public void setMedian(double median) { in setMedian() argument
[all …]
/external/tensorflow/tensorflow/python/client/
Dsession_benchmark.py65 print("%s %d %f" % (name, size, np.median(times)))
66 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
93 print("%s %d %f" % (name, size, np.median(times)))
94 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
122 print("%s %d %f" % (name, size, np.median(times)))
123 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
148 print("%s %f" % (name, np.median(times)))
149 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
175 print("%s %f" % (name, np.median(times)))
176 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/
Dautotune_benchmark.py66 wall_time=np.median(deltas),
68 return np.median(deltas)
105 wall_time=np.median(deltas),
107 return np.median(deltas)
143 wall_time=np.median(deltas),
145 return np.median(deltas)
203 wall_time=np.median(deltas),
205 return np.median(deltas)
Doptimize_benchmark.py68 median_wall_time = np.median(deltas) / 100
109 median_wall_time = np.median(deltas) / 100
150 median_wall_time = np.median(deltas) / 100
Dmap_and_batch_benchmark.py90 median_wall_time = np.median(deltas) / 100.0
163 wall_time=np.median(chained_deltas),
189 wall_time=np.median(fused_deltas),
Dchoose_fastest_benchmark.py78 median_wall_time = np.median(deltas) / n
100 median_wall_time = np.median(deltas) / 100
/external/python/cpython3/Doc/library/
Dstatistics.rst43 :func:`median` Median (middle value) of data.
44 :func:`median_low` Low median of data.
45 :func:`median_high` High median of data.
103 central location, see :func:`median` and :func:`mode`. (In this case,
146 .. function:: median(data)
148 Return the median (middle value) of numeric data, using the common "mean of
152 The median is a robust measure of central location, and is less affected by
158 >>> median([1, 3, 5])
161 When the number of data points is even, the median is interpolated by taking
166 >>> median([1, 3, 5, 7])
[all …]
/external/tensorflow/tensorflow/python/data/benchmarks/
Dmeta_benchmark.py90 median = np.median(deltas)
95 "iters_per_second": 1 / median,
96 "median": median,
102 self.report_benchmark(wall_time=median, iters=self.iters, extras=extras)
/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c101 unsigned long median, switches1, num_switches, num_overhead_switches; in main() local
256 median = compute_median(diffs, max_diff); in main()
258 (double)median / 20.0, (double)(median - overhead) / 20.0); in main()
440 unsigned long median = 0; in compute_median() local
457 median = count; in compute_median()
460 return (median); in compute_median()
/external/skia/tools/
DStats.h25 min = max = mean = var = median = 0; in Stats()
51 median = sorted[n/2]; in Stats()
75 double median; member
/external/skqp/tools/
DStats.h25 min = max = mean = var = median = 0; in Stats()
51 median = sorted[n/2]; in Stats()
75 double median; member
/external/deqp/framework/common/
DtcuCPUWarmup.cpp58 const float median = floatMedian(v); in floatRelativeMedianAbsoluteDeviation() local
62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
64 return floatMedian(absoluteDeviations) / median; in floatRelativeMedianAbsoluteDeviation()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTapLatencyFragment.java264 Utils.median(p2kDown), in finishAndShowStats()
265 Utils.median(k2cDown) in finishAndShowStats()
270 Utils.median(p2kUp), in finishAndShowStats()
271 Utils.median(k2cUp) in finishAndShowStats()
277 …(ACTION_DOWN_INDEX, String.format(Locale.US, "ACTION_DOWN median=%.1f ms", Utils.median(p2kDown))); in finishAndShowStats()
278 …tLabel(ACTION_UP_INDEX, String.format(Locale.US, "ACTION_UP median=%.1f ms", Utils.median(p2kUp))); in finishAndShowStats()
DAudioTest.java423 Utils.median(deltasJ2N), in finishPlaybackMeasurement()
424 Utils.median(deltas_play2queue), in finishPlaybackMeasurement()
426 Utils.median(deltas_queue2wire) in finishPlaybackMeasurement()
449 Utils.median(deltas_mic) in finishRecordingMeasurement()
/external/tensorflow/tensorflow/core/grappler/costs/
Drobust_stats.cc66 double median = SortedMedian(sorted_values); in ScaledMedianAbsoluteDeviation() local
73 deviations.push_back(std::abs(d - median)); in ScaledMedianAbsoluteDeviation()
76 return std::pair<double, double>(median, mad); in ScaledMedianAbsoluteDeviation()
/external/walt/pywalt/
Dplothist.py28 'tap down N=%d med=%0.1f' % (len(dt_down), median(dt_down)),
29 'tap up N=%d med=%0.1f' % (len(dt_up), median(dt_up)),
/external/walt/pywalt/pywalt/
Dwalt.py159 median = numpy.median(times)
160 stats = (times.min() / MS, median / MS, times.max() / MS, N)
161 self.median_latency = median
164 if (median > 2):
165 print('ERROR: the median round trip is too high: %.2f ms' % (median / MS) )
488 print('Median tap-to-audio latency: %0.1f ms' % numpy.median(deltas))
514 print('Median tap-to-blink latency: %0.1f ms' % numpy.median(deltas))
571 median_down_ms = numpy.median(dt_down)
572 median_up_ms = numpy.median(dt_up)
Dscreen_stats.py42 (numpy.median(dt_even), numpy.std(dt_even)))
44 (numpy.median(dt_odd), numpy.std(dt_odd)))
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DUtilsTest.java35 assertThat(Utils.median(arr), is(0d)); in testMedian_singleNumber()
42 assertThat(Utils.median(arr), is(2.5d)); in testMedian_evenSize()
49 assertThat(Utils.median(arr), is(3d)); in testMedian_oddSize()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp57 double median; member
91 result.median = (double)sortedValues[n]; in calculateStats()
547 …log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMess… in logAndSetTestResult()
553 log << TestLog::Message << "Batched median: " << batched.median << TestLog::EndMessage; in logAndSetTestResult()
559 …::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.median) << TestLo… in logAndSetTestResult()
561 …EST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median) / batched.median), 2).c_st… in logAndSetTestResult()
/external/catch2/scripts/
DbenchmarkRunner.py6 from statistics import median, stdev
56 … file.write('{}: median: {} (s), stddev: {} (s)\n'.format(k, median(data[k]), stdev(data[k])))
/external/libxcam/modules/ocl/
Dcl_newwavelet_denoise_handler.cpp208 float median = 0; in estimate_noise_variance() local
224 median = 0; in estimate_noise_variance()
228 median = i; in estimate_noise_variance()
232 noise_std_deviation = median / 0.6745; in estimate_noise_variance()
245 median = 0; in estimate_noise_variance()
249 median = i; in estimate_noise_variance()
253 noise_std_deviation = median / 0.6745; in estimate_noise_variance()
257 median = 0; in estimate_noise_variance()
261 median = i; in estimate_noise_variance()
265 noise_std_deviation = median / 0.6745; in estimate_noise_variance()
/external/webrtc/webrtc/modules/audio_processing/
Decho_cancellation_impl.cc365 int EchoCancellationImpl::GetDelayMetrics(int* median, int* std) { in GetDelayMetrics() argument
368 return GetDelayMetrics(median, std, &fraction_poor_delays); in GetDelayMetrics()
371 int EchoCancellationImpl::GetDelayMetrics(int* median, int* std, in GetDelayMetrics() argument
374 if (median == NULL) { in GetDelayMetrics()
387 WebRtcAec_GetDelayMetrics(my_handle, median, std, fraction_poor_delays); in GetDelayMetrics()
Decho_cancellation_impl.h63 int GetDelayMetrics(int* median, int* std) override;
64 int GetDelayMetrics(int* median,
/external/webrtc/webrtc/audio/
Daudio_send_stream.cc181 int median = -1; in GetStats() local
184 error = processing->GetEcDelayMetrics(median, std, dummy); in GetStats()
186 stats.echo_delay_median_ms = median; in GetStats()

12345