Home
last modified time | relevance | path

Searched refs:wval (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/modules/ml/src/
Dboost.cpp130 double& wval = w->sample_weights[w->sidx[i]]; in normalizeWeights() local
131 wval = wval*a + b; in normalizeWeights()
233 double wval = w->sample_weights[si]; in updateWeightsAndTrim() local
234 sumw += wval; in updateWeightsAndTrim()
235 err += wval*(result[i] != w->cat_responses[si]); in updateWeightsAndTrim()
247 double wval = w->sample_weights[si]; in updateWeightsAndTrim() local
249 wval *= scale; in updateWeightsAndTrim()
250 sumw += wval; in updateWeightsAndTrim()
251 w->sample_weights[si] = wval; in updateWeightsAndTrim()
269 double wval = w->sample_weights[si]*std::exp(-result[i]*w->ord_responses[si]); in updateWeightsAndTrim() local
[all …]
Dtree.cpp586 double wval = w->sample_weights[si]; in calcValue() local
588 sum += t*wval; in calcValue()
589 sum2 += t*t*wval; in calcValue()
590 sumw += wval; in calcValue()
608 double wval = w->sample_weights[si]; in calcValue() local
610 cv_sum[j] += t*wval; in calcValue()
611 cv_sum2[j] += t*t*wval; in calcValue()
612 cv_count[j] += wval; in calcValue()
673 double wval = rcw[i]; in findSplitOrdClass() local
674 R += wval; in findSplitOrdClass()
[all …]
Dann_mlp.cpp1065 double wval = wk[j]; in train_rprop() local
1073 wk[j] = wval + dval*s; in train_rprop()
1081 wk[j] = wval + dval*s; in train_rprop()
1086 wk[j] = wval + dval*s; in train_rprop()
/external/freetype/src/sfnt/
Dttsbit.c629 FT_UInt wval = 0; in tt_sbit_decoder_load_byte_aligned() local
634 wval = (FT_UInt)( wval | *p++ ); in tt_sbit_decoder_load_byte_aligned()
635 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
637 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
641 wval = (FT_UInt)( wval | ( *p++ & ( 0xFF00U >> w ) ) ); in tt_sbit_decoder_load_byte_aligned()
645 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
650 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
651 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c629 FT_UInt wval = 0; in tt_sbit_decoder_load_byte_aligned() local
634 wval = (FT_UInt)( wval | *p++ ); in tt_sbit_decoder_load_byte_aligned()
635 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
637 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
641 wval = (FT_UInt)( wval | ( *p++ & ( 0xFF00U >> w ) ) ); in tt_sbit_decoder_load_byte_aligned()
645 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
650 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
651 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttsbit.c697 FT_UInt wval = 0; in tt_sbit_decoder_load_byte_aligned() local
702 wval = (FT_UInt)( wval | *p++ ); in tt_sbit_decoder_load_byte_aligned()
703 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
705 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
709 wval = (FT_UInt)( wval | ( *p++ & ( 0xFF00U >> w ) ) ); in tt_sbit_decoder_load_byte_aligned()
713 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
718 wval <<= 8; in tt_sbit_decoder_load_byte_aligned()
719 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
/external/opencv/ml/src/
Dmlann_mlp.cpp1255 double wval = wk[j]; in train_rprop() local
1263 wk[j] = wval + dval*s; in train_rprop()
1271 wk[j] = wval + dval*s; in train_rprop()
1276 wk[j] = wval + dval*s; in train_rprop()