dotnet / dotnet/docs

Confusing remarks between score and rating in this tutorial!

Open
#27,142 0 comments 0 reactions 0 assignees View on GitHub
dotnet-ml/svc okr-quality
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

I am confused between `score` and `rating` (`Label`) in this tutorial as they provide very different results!

"You can then use the Score, or the predicted rating, to determine whether you want to recommend the movie with movieId 10 to user 6. The higher the Score, the higher the likelihood of a user liking a particular movie. In this case, let’s say that you recommend movies with a predicted rating of > 3.5."

The page mentions using "rating of > 3.5", which is the prediction `Label`, but the code uses the score and therefore a conflicting wrong result between the 2. I printed out the result as follows:
```
=============== Making a prediction ===============
Rating: 0 Score: 3.737763
Movie 10 is not recommended for user 6
```
How I interpret this is that the `score` tells how accurate the prediction `rating (Label) is. Therefore, if the `score` is higher than the threshold (therefore higher accuracy), then if the `rating` is high, recommend the input data. Otherwise, do not recommend it.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 0888bc80-798f-ebdd-459a-7543be1efdad
* Version Independent ID: c24ded82-d56c-e8c7-fd6a-e39929227177
* Content: [Tutorial: Build a movie recommender - matrix factorization - ML.NET](https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/movie-recommendation)
* Content Source: [docs/machine-learning/tutorials/movie-recommendation.md](https://github.com/dotnet/docs/blob/main/docs/machine-learning/tutorials/movie-recommendation.md)
* Product: **dotnet-ml**
* GitHub Login: @briacht
* Microsoft Alias: **luquinta**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.