/external/opencv3/samples/python2/ |
gaussian_mix.py | 42 means = em.getMat('means') variable 44 found_distrs = zip(means, covs)
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
AbstractMeanVerification.java | 53 * Return the means of the event values. 60 float[] means = new float[mSums.length]; local 62 means[i] = mSums[i] / mCount; 64 return means;
|
MeanVerification.java | 30 * A {@link ISensorVerification} which verifies that the means matches the expected measurement. 92 float[] means = getMeans(); local 98 if (means.length > 1) { 102 for (int i = 0; i < means.length; i++) { 103 if (Math.abs(means[i] - mExpected[i]) > mThreshold[i]) { 106 meanSb.append(String.format("%.2f", means[i])); 107 if (i != means.length - 1) meanSb.append(", "); 109 if (i != means.length - 1) expectedSb.append(", "); 111 if (means.length > 1) { 117 stats.addValue(SensorStats.MEAN_KEY, means); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
VectorialMean.java | 34 /** Means for each component. */ 35 private final Mean[] means; field in class:VectorialMean 41 means = new Mean[dimension]; 43 means[i] = new Mean(); 53 if (v.length != means.length) { 54 throw new DimensionMismatchException(v.length, means.length); 57 means[i].increment(v[i]); 66 double[] result = new double[means.length]; 68 result[i] = means[i].getResult(); 78 return (means.length == 0) ? 0 : means[0].getN() [all...] |
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_utils_unittest.cc | 62 const complex<float> means[] = {{3, 8}, {5, 7}, {4, 5}, {5, 6}, {4, 6}}; local 65 EXPECT_EQ(means[i], NewMean(mean, data[i], i + 1)); 67 EXPECT_EQ(means[i], mean);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
MSSIMComparer.java | 62 double[] means = getMeans(ideal, given, start, stride); local 63 double meanX = means[0]; 64 double meanY = means[1];
|
/external/opencv3/modules/ml/test/ |
test_emknearestkmeans.cpp | 51 void defaultDistribs( Mat& means, vector<Mat>& covs, int type=CV_32FC1 ) 56 means.create(3, 2, type); 60 means.resize(3), covs.resize(3); 62 Mat mr0 = means.row(0); 66 Mat mr1 = means.row(1); 70 Mat mr2 = means.row(2); 90 vector<Mat> means(sizes.size()); 92 means[i] = _means.row(i); 93 vector<Mat>::const_iterator mit = means.begin(), cit = covs.begin(); 235 Mat means; 305 Mat means; local 369 const cv::Mat* means; member in class:EM_Params 451 Mat means; local [all...] |
/external/opencv3/modules/ml/src/ |
em.cpp | 102 means.release(); 217 return !means.empty(); 227 return means.cols; 236 int nclusters, int covMatType, const Mat* probs, const Mat* means, 266 CV_Assert(!means || 267 (!means->empty() && 268 means->rows == nclusters && means->cols == dim && 269 means->channels() == 1)); 286 CV_Assert(means); 776 fs << "means" << means; local 803 fn["means"] >> means; local 832 Mat means; member in class:cv::ml::EMImpl [all...] |
/external/opencv/ml/include/ |
ml.h | 562 start_step(0/*CvEM::START_AUTO_STEP*/), probs(0), weights(0), means(0), covs(0) 572 probs(_probs), weights(_weights), means(_means), covs(_covs), term_crit(_term_crit) 580 const CvMat* means; member in struct:CvEMParams 624 const CvMat* means ); 628 CvMat* means; member in class:CvEM [all...] |