Step 2: Build Data and Structures for Training and Testing

Next, you will build the data and structures you will use for training the recommender model and testing it.

The API divides the training and testing and data into an 80-20 training/testing split.

For more information, please refer to the API documentation.