/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
Median.java | 23 * Returns the median of the available values. This is the same as the 50th percentile. 33 public class Median extends Percentile implements Serializable { 41 public Median() { 46 * Copy constructor, creates a new {@code Median} identical 49 * @param original the {@code Median} instance to copy 51 public Median(Median original) {
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
math_utils_test.py | 30 self.assertTrue(math.isnan(math_utils.Median([]))) 33 self.assertEqual(3.0, math_utils.Median([3])) 36 self.assertEqual(4.0, math_utils.Median([1, 4, 16])) 39 self.assertEqual(10.0, math_utils.Median([1, 4, 16, 145]))
|
find_change_points.py | 50 # Median of the segments before and after the change point. 131 left_median, right_median = math_utils.Median(left), math_utils.Median(right) 154 right sides by the median of the left and right sides respectively). 173 """Subtracts the median value in the list from all values in the list.""" 174 median = math_utils.Median(values) 175 return [val - median for val in values] 187 min_absolute_change: Minimum absolute median change threshold. 188 min_relative_change: Minimum relative median change threshold [all...] |
math_utils.py | 17 def Median(values):
|
find_change_points_test.py | 112 # The _ZeroMedian function adjusts values so that the median is zero. 123 # Also, the median of the output is always zero. 124 self.assertEqual(0, math_utils.Median(zeroed_nums))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
Util.java | 6 import org.apache.commons.math.stat.descriptive.rank.Median; 38 * Calculate median of data. 40 public static double median(double[] data) { method in class:Util 41 Median median = new Median(); local 42 median.setData(data); 43 return median.evaluate();
|
/external/ceres-solver/examples/ |
bal_problem.cc | 62 double Median(std::vector<double>* data) { 216 // Compute the marginal median of the geometry. 218 Eigen::Vector3d median; local 224 median(i) = Median(&tmp); 229 tmp[i] = (point - median).lpNorm<1>(); 232 const double median_absolute_deviation = Median(&tmp); 234 // Scale so that the median absolute deviation of the resulting 238 VLOG(2) << "median: " << median.transpose() [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
statistics.py | 293 def Median(values): 294 """Gets the median of a list of values."""
|
/external/opencv3/modules/ts/misc/ |
table_formatter.py | 656 "median": ("Median", lambda test,test0,units: test.get("median", units)), 663 "median%": ("Median (relative)", lambda test,test0,units: getRelativeVal(test, test0, "median")), 670 "median$": ("Median (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0, "median")),
|