Home
last modified time | relevance | path

Searched refs:predict (Results 1 – 25 of 143) sorted by relevance

123456

/external/libvpx/libvpx/vp9/common/
Dvp9_scale.c86 sf->predict[0][0][0] = vpx_convolve_copy;
87 sf->predict[0][0][1] = vpx_convolve_avg;
88 sf->predict[0][1][0] = vpx_convolve8_vert;
89 sf->predict[0][1][1] = vpx_convolve8_avg_vert;
90 sf->predict[1][0][0] = vpx_convolve8_horiz;
91 sf->predict[1][0][1] = vpx_convolve8_avg_horiz;
94 sf->predict[0][0][0] = vpx_scaled_vert;
95 sf->predict[0][0][1] = vpx_scaled_avg_vert;
96 sf->predict[0][1][0] = vpx_scaled_vert;
97 sf->predict[0][1][1] = vpx_scaled_avg_vert;
[all …]
Dvp9_scale.h34 convolve_fn_t predict[2][2][2]; // horiz, vert, avg member
/external/opencv3/samples/python2/
Dletter_recog.py70 def predict(self, samples): member in RTrees
71 return np.float32( [self.model.predict(s) for s in samples] )
81 def predict(self, samples): member in KNearest
99 def predict(self, samples): member in Boost
101 pred = np.array( [self.model.predict(s, returnSum = True) for s in new_samples] )
116 def predict(self, samples): member in SVM
138 def predict(self, samples): member in MLP
139 ret, resp = self.model.predict(samples)
173 train_rate = np.mean(model.predict(samples[:train_n]) == responses[:train_n])
174 test_rate = np.mean(model.predict(samples[train_n:]) == responses[train_n:])
Ddigits.py83 def predict(self, samples): member in KNearest
99 def predict(self, samples): member in SVM
100 return self.model.predict(samples)[1][0].ravel()
104 resp = model.predict(samples)
/external/libvpx/libvpx/test/
Didct_test.cc40 unsigned char predict[256]; member in __anon2a17299f0111::IDCTTest
81 for (i = 0; i < 256; i++) predict[i] = i; in TEST_P()
83 ASM_REGISTER_STATE_CHECK(UUT(input, predict, 16, output, 16)); in TEST_P()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/machinelearning/
Dtest_machinelearning.py34 self.service_connection.predict(
42 self.service_connection.predict(
/external/opencv3/modules/ml/test/
Dtest_lr.cpp109 p->predict(tdata->getSamples(), responses); in run()
169 lr1->predict(tdata->getSamples(), responses1); in run()
183 lr2->predict(tdata->getSamples(), responses2); in run()
Dtest_svmtrainauto.cpp78 float result0 = svm->predict( test_point0 ); in run()
81 float result1 = svm->predict( test_point1 ); in run()
Dtest_save_load.cpp217 … model->predict(input, output, StatModel::RAW_OUTPUT | (isTree ? DTrees::PREDICT_SUM : 0)); in oneTest()
289 svm1->predict(samples, r1); in TEST()
290 svm2->predict(samples, r2); in TEST()
291 svm3->predict(samples, r3); in TEST()
/external/opencv3/modules/java/src/
Dml+StatModel.java113 public float predict(Mat samples, Mat results, int flags) in predict() method in StatModel
122 public float predict(Mat samples) in predict() method in StatModel
Dml+LogisticRegression.java198 public float predict(Mat samples, Mat results, int flags) in predict() method in LogisticRegression
207 public float predict(Mat samples) in predict() method in LogisticRegression
Dvideo+KalmanFilter.java59 public Mat predict(Mat control) in predict() method in KalmanFilter
68 public Mat predict() in predict() method in KalmanFilter
/external/opencv3/apps/traincascade/
Dold_ml.hpp203 …virtual float predict( const CvMat* samples, CV_OUT CvMat* results=0, CV_OUT CvMat* results_prob=0…
211 …CV_WRAP virtual float predict( const cv::Mat& samples, CV_OUT cv::Mat* results=0, CV_OUT cv::Mat* …
491 virtual float predict( const CvMat* sample, bool returnDFVal=false ) const;
492 …virtual float predict( const CvMat* samples, CV_OUT CvMat* results, bool returnDFVal=false ) const;
512 CV_WRAP virtual float predict( const cv::Mat& sample, bool returnDFVal=false ) const;
513 …CV_WRAP_AS(predict_all) virtual void predict( cv::InputArray samples, cv::OutputArray results ) co…
539 virtual float predict( const float* row_sample, int row_len, bool returnDFVal=false ) const;
787 virtual CvDTreeNode* predict( const CvMat* sample, const CvMat* missingDataMask=0,
796 …CV_WRAP virtual CvDTreeNode* predict( const cv::Mat& sample, const cv::Mat& missingDataMask=cv::Ma…
930 virtual float predict( const CvMat* sample, const CvMat* missing = 0 ) const;
[all …]
Dboost.h56 virtual CvDTreeNode* predict( int sampleIdx ) const;
70 virtual float predict( int sampleIdx, bool returnSum = false ) const;
/external/opencv/ml/src/
Dmlrtrees.cpp391 CV_CALL(predicted_node = tree->predict(&sample, &missing, true)); in grow_forest()
469 predct_resp = tree->predict(&sample, &missing, true)->value; in grow_forest()
525 result += trees[i]->predict( sample1, missing1 ) == in get_proximity()
526 trees[i]->predict( sample2, missing2 ) ? 1 : 0; in get_proximity()
535 float CvRTrees::predict( const CvMat* sample, const CvMat* missing ) const in predict() function in CvRTrees
551 CvDTreeNode* predicted_node = trees[k]->predict( sample, missing ); in predict()
568 result += trees[k]->predict( sample, missing )->value; in predict()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DDFA.as56 /** From the input stream, predict what alternative will succeed
61 public function predict(input:IntStream):int { method in org.antlr.runtime.DFA
63 trace("Enter DFA.predict for decision "+decisionNumber);
91 if ( debug ) trace("accept; predict "+accept[s]+" from state "+s);
128 if ( debug ) trace("accept via EOF; predict "+accept[eof[s]]+" from "+eof[s]);
/external/opencv3/samples/cpp/
Dlogistic_regression.cpp150 lr1->predict(data_test, responses); in main()
172 lr2->predict(data_test, responses2); in main()
/external/webp/src/dsp/
Dlossless_enc.c589 const uint32_t predict = in GetBestPredictorForTile() local
591 uint32_t residual = VP8LSubPixels(current_row[col], predict); in GetBestPredictorForTile()
643 const uint32_t predict = in CopyImageWithPrediction() local
645 argb[y * width + x] = VP8LSubPixels(current_row[x], predict); in CopyImageWithPrediction()
649 uint32_t predict, residual; in CopyImageWithPrediction() local
655 predict = Predict(pred_func, x, y, current_row, upper_row); in CopyImageWithPrediction()
656 residual = VP8LSubPixels(current_row[x], predict); in CopyImageWithPrediction()
664 current_row[x] = predict & ~kMaskAlpha; in CopyImageWithPrediction()
/external/opencv3/3rdparty/libwebp/dsp/
Dlossless.c551 uint32_t predict; in GetBestPredictorForTile() local
554 predict = (col == 0) ? ARGB_BLACK : current_row[col - 1]; // Left. in GetBestPredictorForTile()
556 predict = upper_row[col]; // Top. in GetBestPredictorForTile()
558 predict = pred_func(current_row[col - 1], upper_row + col); in GetBestPredictorForTile()
560 predict_diff = VP8LSubPixels(current_row[col], predict); in GetBestPredictorForTile()
600 uint32_t predict; in CopyTileWithPrediction() local
602 predict = (col == 0) ? ARGB_BLACK : current_row[col - 1]; // Left. in CopyTileWithPrediction()
604 predict = upper_row[col]; // Top. in CopyTileWithPrediction()
606 predict = pred_func(current_row[col - 1], upper_row + col); in CopyTileWithPrediction()
608 argb[pix] = VP8LSubPixels(current_row[col], predict); in CopyTileWithPrediction()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Ddfa.rb171 def predict( input ) singletonMethod in ANTLR3.DFA
237 def predict( input ) singletonMethod in ANTLR3.DFA
/external/opencv3/modules/ml/src/
Dgbt.cpp384 res = (float)tree->predict(&x, &x_miss)->value;
388 res = (float)tree->predict(&x)->value;
552 predictions[i] = tree->predict(&x, &miss_x);
555 predictions[i] = tree->predict(&x);
841 float p = (float)(tree->predict(_sample, _missing)->value);
937 tmp_sum += shrinkage*(float)(tree->predict(sample, missing)->value);
955 float CvGBTrees::predict( const CvMat* _sample, const CvMat* _missing,
1357 float CvGBTrees::predict( const cv::Mat& sample, const cv::Mat& _missing,
1361 return predict(&_sample, _missing.empty() ? 0 : &miss, 0,
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt045dfabug.g8 // this rule used to generate an infinite loop in DFA.predict
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDFA.m50 - (NSInteger) predict:(id<ANTLRIntStream>)input
53 NSLog(@"Enter DFA.predict for decision %d", decisionNumber);
80 if ( debug > 2 ) NSLog(@"accept; predict %d from state %d", accept[s], s);
119 if ( debug > 2 ) NSLog(@"accept via EOF; predict %d from %d", accept[eof[s]], eof[s]);
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3cyclicdfa.h75 …ANTLR3_INT32 (*predict) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM … member
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRDFA.h53 - (NSInteger) predict:(id<ANTLRCharStream>)anInput;

123456