Home | History | Annotate | Download | only in recommendation

Lines Matching defs:score

98      * @param baseScore Base(Minimum) score of the score evaluated by {@code evaluator}.
99 * @param weight Weight value to rearrange the score evaluated by {@code evaluator}.
114 * @return Top {@code size} channels recommended sorted by score in descending order. If {@code
124 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId());
125 if (score > maxScore) {
126 maxScore = score;
249 * The implementation should return the recommendation score for the given channel ID. The
251 * gives up to calculate the score for the channel.
254 * @return The recommendation score
272 // The minimum score of the Recommender unless it gives up to provide the score.
287 * This returns the scaled score for the given channel ID based on the returned value of
291 * @return Returns the scaled score (mBaseScore + score * mWeight) when evaluateChannel() is
297 double score = mEvaluator.evaluateChannel(channelId);
298 if (score < 0.0) {
299 if (score != Evaluator.NOT_RECOMMENDED) {
302 "Unexpected score (" + score + ") from the recommender" + mEvaluator);
304 // If the recommender gives up to calculate the score, return 0.0
306 } else if (score > 1.0) {
307 Log.w(TAG, "Unexpected score (" + score + ") from the recommender" + mEvaluator);
308 score = 1.0;
310 return mBaseScore + score * mWeight;