In this lab:
- The data for user has been repeated. Why?
- There seems to be a mismatch between what’s written and what’s shown. Kindly help me understand.
See the image above for context please.
In this lab:
See the image above for context please.
Hello @Debatreyo_Roy
It is repeated for each movie that was rated by the same user. If you concatenate the user table and the movie table horizontally, then each line of this bigger table is one user rating one movie, but it is just that the bigger table was split into two, and so you see a repeated user in the user table because that user had rated multiple movies.
Another learner had observed this difference, so I requested the team to review the number. For now, we may rely on what the data tells us.
Cheers,
Raymond
The ‘pprint_train’ code has a format that round the value to 4.0: