hezean / sustc

Template for project 2 of SUSTech Principles of Database Systems (CS307 / CS213), 23 fall semester.
http://172.18.34.154
MIT License
22 stars 9 forks source link

[io.sustc.service.RecommenderService#generalRecommendations(int, int)] Counting of the rates of like/coin/favorite #28

Closed Jaredanwolfgang closed 9 months ago

Jaredanwolfgang commented 9 months ago

Describe your question

In the RecommenderSerivice, we are asked to implement a method generalRecommendations(int, int). The implNote stated that Though users can like/coin/favorite a video without watching it, the rates of these values should be clamped to 1. What does it mean by clamping the rates of the values to 1?

Thank you for your prompt responding!

sses7757 commented 9 months ago

@Jaredanwolfgang Just count all users who like/coin/favorite a video with/without watching it combined. These values may exceed the number of users who watched this video. In this case, the like/coin/favorite rates shall be at most 1.

Jaredanwolfgang commented 9 months ago

Ok! Thank you for answering