Searched refs:abs_val_vec (Results 1 - 1 of 1) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp271 vector<double> abs_val_vec; local
278 abs_val_vec.push_back(fabs(iter->second/normalizer_));
286 std::nth_element(&abs_val_vec[0],
287 &abs_val_vec[curr_l0_norm - req_l0_norm],
288 &abs_val_vec[curr_l0_norm]);
289 const double theta = abs_val_vec[curr_l0_norm - req_l0_norm];

Completed in 52 milliseconds