The real wordsTheory
Content-based filtering
Content-based filteringPredict from the item's own attributes and this user's history with similar items. No other user is consulted.
Section B's assignment supplies exactly one attribute, a Type column reading Sci-Fi or Action. That is deliberate: it is the hook the content-based half of the assignment hangs on.
predicted rating = average of this user's ratings
on items of the same type
Simple, and it works from the first rating a user ever gives.