/external/opencv3/modules/ml/src/ |
D | nbayes.cpp | 64 int nvars = trainData->getNVars(); in train() local 82 count[cls] = Mat::zeros( 1, nvars, CV_32SC1 ); in train() 83 sum[cls] = Mat::zeros( 1, nvars, CV_64FC1 ); in train() 84 productsum[cls] = Mat::zeros( nvars, nvars, CV_64FC1 ); in train() 85 avg[cls] = Mat::zeros( 1, nvars, CV_64FC1 ); in train() 86 inv_eigen_values[cls] = Mat::zeros( 1, nvars, CV_64FC1 ); in train() 87 cov_rotate_mats[cls] = Mat::zeros( nvars, nvars, CV_64FC1 ); in train() 107 Mat cov( nvars, nvars, CV_64FC1 ); in train() 119 for( c1 = 0; c1 < nvars; c1++, prod_data += nvars ) in train() 124 for( c2 = c1; c2 < nvars; c2++ ) in train() [all …]
|
D | data.cpp | 301 int nvars = ninputvars + noutputvars; in setData() local 305 CV_Assert( varType.checkVector(1, CV_8U, true) == nvars && in setData() 310 varType.create(1, nvars, CV_8U); in setData() 322 catOfs = Mat::zeros(1, nvars, CV_32SC2); in setData() 323 missingSubst = Mat::zeros(1, nvars, CV_32F); in setData() 504 int nvars = 0; in loadCSV() local 567 if( nvars == 0 ) in loadCSV() 571 nvars = (int)rowvals.size(); in loadCSV() 574 setVarTypes(varTypeSpec, nvars, vtypes); in loadCSV() 580 ridx0 = ridx0 >= 0 ? ridx0 : ridx0 == -1 ? nvars - 1 : -1; in loadCSV() [all …]
|
D | rtrees.cpp | 94 int i, nvars = (int)allVars.size(), m = (int)activeVars.size(); in getActiveVars() local 95 for( i = 0; i < nvars; i++ ) in getActiveVars() 97 int i1 = rng.uniform(0, nvars); in getActiveVars() 98 int i2 = rng.uniform(0, nvars); in getActiveVars() 109 int nvars = w->data->getNVars(); in startTraining() local 110 … int i, m = rparams.nactiveVars > 0 ? rparams.nactiveVars : cvRound(std::sqrt((double)nvars)); in startTraining() 111 m = std::min(std::max(m, 1), nvars); in startTraining() 112 allVars.resize(nvars); in startTraining() 114 for( i = 0; i < nvars; i++ ) in startTraining() 142 int nvars = w->data->getNVars(); in train() local [all …]
|
D | boost.cpp | 205 int nvars = (int)varIdx.size(); in updateWeightsAndTrim() local 207 cv::AutoBuffer<double> buf(n + nvars); in updateWeightsAndTrim() 210 Mat sample(1, nvars, CV_32F, sbuf); in updateWeightsAndTrim()
|
D | tree.cpp | 161 int i, nvars = (int)varIdx.size(); in startTraining() local 162 for( i = 0; i < nvars; i++ ) in startTraining() 209 int i, nvars = (int)varIdx.size(), prevIdx = -1; in initCompVarIdx() local 210 for( i = 0; i < nvars; i++ ) in initCompVarIdx() 1368 int nvars = (int)varIdx.size(); in predictTrees() local 1369 if( nvars == 0 ) in predictTrees() 1370 nvars = (int)varType.size(); in predictTrees() 1372 int catbufsize = ncats > 0 ? nvars : 0; in predictTrees()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/ |
D | AbstractMultipleLinearRegression.java | 92 public void newSampleData(double[] data, int nobs, int nvars) { in newSampleData() argument 97 if (data.length != nobs * (nvars + 1)) { in newSampleData() 99 LocalizedFormats.INVALID_REGRESSION_ARRAY, data.length, nobs, nvars); in newSampleData() 101 if (nobs <= nvars) { in newSampleData() 106 final int cols = noIntercept ? nvars: nvars + 1; in newSampleData()
|
D | OLSMultipleLinearRegression.java | 80 public void newSampleData(double[] data, int nobs, int nvars) { in newSampleData() argument 81 super.newSampleData(data, nobs, nvars); in newSampleData()
|
/external/bison/src/ |
D | nullable.c | 63 symbol_number *squeue = xnmalloc (nvars, sizeof *squeue); in nullable_compute() 67 rule_list **rsets = xcalloc (nvars, sizeof *rsets); in nullable_compute() 70 rule_list *relts = xnmalloc (nritems + nvars + 1, sizeof *relts); in nullable_compute() 72 nullable = xcalloc (nvars, sizeof *nullable); in nullable_compute()
|
D | reduce.c | 94 Np = bitset_create (nvars, BITSET_FIXED); in useless_nonterminals() 216 nuseless_nonterminals = nvars - nuseful_nonterminals; in inaccessable_symbols() 293 symbol_number *nontermmap = xnmalloc (nvars, sizeof *nontermmap); in nonterminals_reduce() 309 symbol **symbols_sorted = xnmalloc (nvars, sizeof *symbols_sorted); in nonterminals_reduce() 334 nvars -= nuseless_nonterminals; in nonterminals_reduce() 403 N = bitset_create (nvars, BITSET_FIXED); in reduce_grammar() 436 grammar_file, ntokens, nvars, nrules); in reduce_grammar()
|
D | derives.c | 71 rule_list **dset = xcalloc (nvars, sizeof *dset); in derives_compute() 91 derives = xnmalloc (nvars, sizeof *derives); in derives_compute() 92 q = xnmalloc (nvars + nrules, sizeof *q); in derives_compute()
|
D | closure.c | 127 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED); in set_firsts() 163 fderives = bitsetv_create (nvars, nrules, BITSET_FIXED); in set_fderives()
|
D | lalr.c | 78 goto_map = xcalloc (nvars + 1, sizeof *goto_map); in set_goto_map() 79 temp_map = xnmalloc (nvars + 1, sizeof *temp_map); in set_goto_map() 465 aver (nsyms == nvars + ntokens); in lalr_update_state_numbers() 485 while (nonterminal <= nvars) in lalr_update_state_numbers()
|
D | reader.c | 245 lhs->number = nvars; in grammar_current_rule_begin() 246 ++nvars; in grammar_current_rule_begin() 605 accept->number = nvars++; in reader() 721 aver (nsyms <= SYMBOL_NUMBER_MAXIMUM && nsyms == ntokens + nvars); in check_and_convert_grammar()
|
D | gram.c | 43 int nvars = 0; variable 247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
|
D | gram.h | 113 extern int nvars;
|
D | tables.c | 572 yydefgoto = xnmalloc (nvars, sizeof *yydefgoto); in goto_actions() 819 && sizeof nvars <= sizeof nvectors); in tables_generate() 821 nvectors = state_number_as_int (nstates) + nvars; in tables_generate()
|
D | symtab.c | 337 sym->number = nvars++; in symbol_class_set() 398 sym->number = nvars++; in symbol_check_defined() 748 sym->number = nvars++; in dummy_symbol_get()
|
D | output.c | 154 MUSCLE_INSERT_INT ("nterms_number", nvars); in prepare_symbols()
|
/external/opencv3/samples/cpp/ |
D | letter_recog.cpp | 104 int nvars = data.cols; in prepare_train_data() local 105 Mat var_type( nvars + 1, 1, CV_8U ); in prepare_train_data() 107 var_type.at<uchar>(nvars) = VAR_CATEGORICAL; in prepare_train_data()
|
/external/opencv3/modules/ml/test/ |
D | test_mltests2.cpp | 92 int nvars = (int)var_idx.total(); in ann_check_data() local 93 if( nvars != 0 && nvars != values.cols ) in ann_check_data()
|
/external/javassist/src/main/javassist/ |
D | CtBehavior.java | 700 int nvars = jv.recordParams(getParameterTypes(), in insertBefore() local 702 jv.recordParamNames(ca, nvars); in insertBefore() 774 int nvars = jv.recordParams(getParameterTypes(), in insertAfter() local 776 jv.recordParamNames(ca, nvars); in insertAfter()
|
/external/v8/src/parsing/ |
D | preparser.cc | 570 int nvars = 0; // the number of variables declared in ParseVariableDeclarations() local 574 if (nvars > 0) Consume(Token::COMMA); in ParseVariableDeclarations() 602 nvars++; in ParseVariableDeclarations() 629 if (num_decl != nullptr) *num_decl = nvars; in ParseVariableDeclarations()
|
/external/opencv3/modules/calib3d/src/ |
D | fisheye.cpp | 105 int nvars = 2 + 2 + 1 + 4 + 3 + 3; // f, c, alpha, k, om, T, in projectPoints() local 106 jacobian.create(2*(int)n, nvars, CV_64F); in projectPoints()
|
/external/bison/ |
D | ChangeLog-1998 | 765 increment nvars if symbol is already a nonterminal.
|
D | ChangeLog-2012 | 18285 * src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems) 19732 `nvars', hence we overflow our arrays.
|