Searched refs:linear_score (Results 1 – 1 of 1) sorted by relevance
3227 float nn_score, linear_score; in ml_pruning_partition() local3285 linear_score = linear_weights[FEATURES]; in ml_pruning_partition()3287 linear_score += linear_weights[i] * features[i]; in ml_pruning_partition()3288 if (linear_score > 0.1f) return 0; in ml_pruning_partition()3293 if (linear_score < -0.0f && nn_score < 0.1f) return 1; in ml_pruning_partition()3294 if (nn_score < -0.0f && linear_score < 0.1f) return 1; in ml_pruning_partition()3308 float linear_score = 0.0f; in ml_predict_breakout() local3374 linear_score = linear_weights[FEATURES]; in ml_predict_breakout()3376 linear_score += linear_weights[i] * features[i]; in ml_predict_breakout()3379 return linear_score >= cpi->sf.rd_ml_partition.search_breakout_thresh[q_ctx]; in ml_predict_breakout()