Home
last modified time | relevance | path

Searched refs:max_k (Results 1 – 11 of 11) sorted by relevance

/external/opencv3/modules/core/src/
Dkmeans.cpp366 int max_k = 0; in kmeans() local
369 if( counters[max_k] < counters[k1] ) in kmeans()
370 max_k = k1; in kmeans()
376 float* old_center = centers.ptr<float>(max_k); in kmeans()
378 float scale = 1.f/counters[max_k]; in kmeans()
384 if( labels[i] != max_k ) in kmeans()
396 counters[max_k]--; in kmeans()
/external/gemmlowp/test/
Dcorrectness_meta_gemm.cc201 const std::int32_t max_k = 512; in main() local
203 std::uint8_t* left = new std::uint8_t[max_m * max_k]; in main()
204 std::uint8_t* right = new std::uint8_t[max_n * max_k]; in main()
216 for (int k = min_k; k < max_k; k += 13) { in main()
226 for (int k = min_k; k < max_k; k += 13) { in main()
/external/opencv/ml/src/
Dmlknearest.cpp80 max_k = 0; in clear()
84 int CvKNearest::get_max_k() const { return max_k; } in get_max_k()
127 max_k = _max_k; in train()
338 if( k < 1 || k > max_k ) in find_nearest()
Dmltree.cpp2275 int max_k = -1; in calc_node_value() local
2325 max_k = k; in calc_node_value()
2329 node->class_idx = max_k; in calc_node_value()
2331 data->cat_ofs->data.i[data->cat_var_count] + max_k]; in calc_node_value()
2337 max_val = -1; max_k = -1; in calc_node_value()
2350 max_k = k; in calc_node_value()
/external/opencv3/modules/imgproc/test/
Dtest_convhull.cpp1554 int k, max_k = 0; in validate_test_results() local
1569 max_k = 1; in validate_test_results()
1570 if( fabs(line0[dims-1]) > fabs(line0[max_k]) ) in validate_test_results()
1571 max_k = dims-1; in validate_test_results()
1572 if( line0[max_k] < 0 ) in validate_test_results()
1575 if( line[max_k] < 0 ) in validate_test_results()
1599 t = (line[max_k+dims] - line0[max_k+dims])/line0[max_k]; in validate_test_results()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DDFAState.java771 if ( k > dfa.max_k ) { // track max k for entire DFA in setLookaheadDepth()
772 dfa.max_k = k; in setLookaheadDepth()
DDFA.java113 protected int max_k = -1; field in DFA
/external/opencv3/modules/ml/src/
Dtree.cpp495 int max_k = -1; in calcValue() local
533 max_k = k; in calcValue()
537 node->class_idx = max_k; in calcValue()
538 node->value = classLabels[max_k]; in calcValue()
544 max_val = -1; max_k = -1; in calcValue()
556 max_k = k; in calcValue()
/external/opencv3/apps/traincascade/
Dold_ml.hpp243 const CvMat* sampleIdx=0, bool isRegression=false, int max_k=32 );
253 const cv::Mat& sampleIdx=cv::Mat(), bool isRegression=false, int max_k=32 );
280 int max_k, var_count; member in CvKNearest
Dold_ml_tree.cpp2783 int max_k = -1; in calc_node_value() local
2833 max_k = k; in calc_node_value()
2837 node->class_idx = max_k; in calc_node_value()
2839 data->cat_ofs->data.i[data->cat_var_count] + max_k]; in calc_node_value()
2845 max_val = -1; max_k = -1; in calc_node_value()
2858 max_k = k; in calc_node_value()
/external/opencv/ml/include/
Dml.h283 const CvMat* _sample_idx=0, bool _is_regression=false, int max_k=32 );
308 int max_k, var_count; variable