Skip to content

Instantly share code, notes, and snippets.

@naiborhujosua
Created October 26, 2020 15:50
Show Gist options
  • Save naiborhujosua/7c76093265cf7ef3d7b35935238576aa to your computer and use it in GitHub Desktop.
Save naiborhujosua/7c76093265cf7ef3d7b35935238576aa to your computer and use it in GitHub Desktop.
# Extract the best_model
best_model = model_list[38]
# Extract the Rank
print ("Rank: ", best_model.getRank())
# Extract the MaxIter value
print ("MaxIter: ", best_model.getMaxIter())
# Extract the RegParam value
print ("RegParam: ", best_model.getRegParam())
# Extract the Alpha value
print ("Alpha: ", best_model.getAlpha())
@naiborhujosua
Copy link
Author

You've now tested 192 different models on the msd dataset, and you found the best ROEM and its respective model (model 38).

You now need to extract the hyperparameters. The model_list you created previously is provided here. It contains all 192 models you generated. Use the instructions below to extract the hyperparameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment