How to Solve NameError: name 'Dataset' is not defined -- surprise

Solution: Import the 'Dataset' module

To Solve the error, add the following line to the top of your code.

from surprise import Dataset

 

For more information:
Python surprise Dataset