Searched refs:linear_score (Results 1 – 1 of 1) sorted by relevance
3139 float nn_score, linear_score; in ml_pruning_partition() local3197 linear_score = linear_weights[FEATURES]; in ml_pruning_partition()3199 linear_score += linear_weights[i] * features[i]; in ml_pruning_partition()3200 if (linear_score > 0.1f) return 0; in ml_pruning_partition()3205 if (linear_score < -0.0f && nn_score < 0.1f) return 1; in ml_pruning_partition()3206 if (nn_score < -0.0f && linear_score < 0.1f) return 1; in ml_pruning_partition()3220 float linear_score = 0.0f; in ml_predict_breakout() local3286 linear_score = linear_weights[FEATURES]; in ml_predict_breakout()3288 linear_score += linear_weights[i] * features[i]; in ml_predict_breakout()3291 return linear_score >= cpi->sf.ml_partition_search_breakout_thresh[q_ctx]; in ml_predict_breakout()