Searched refs:wval (Results 1 – 7 of 7) sorted by relevance
130 double& wval = w->sample_weights[w->sidx[i]]; in normalizeWeights() local131 wval = wval*a + b; in normalizeWeights()233 double wval = w->sample_weights[si]; in updateWeightsAndTrim() local234 sumw += wval; in updateWeightsAndTrim()235 err += wval*(result[i] != w->cat_responses[si]); in updateWeightsAndTrim()247 double wval = w->sample_weights[si]; in updateWeightsAndTrim() local249 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 …]
586 double wval = w->sample_weights[si]; in calcValue() local588 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() local610 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() local674 R += wval; in findSplitOrdClass()[all …]
1065 double wval = wk[j]; in train_rprop() local1073 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()
629 FT_UInt wval = 0; in tt_sbit_decoder_load_byte_aligned() local634 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()
697 FT_UInt wval = 0; in tt_sbit_decoder_load_byte_aligned() local702 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()
1255 double wval = wk[j]; in train_rprop() local1263 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()