Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of the trained model on testing. #702

Open
sedatkestepe opened this issue Nov 9, 2023 · 0 comments
Open

Usage of the trained model on testing. #702

sedatkestepe opened this issue Nov 9, 2023 · 0 comments

Comments

@sedatkestepe
Copy link

sedatkestepe commented Nov 9, 2023

Excuse my simple question but I couldn't locate how to test.

I've followed lastfm.py but couldn't find out at what point it uses existing training result. I am used to classical machine learning methods where you train a model then use this model when testing or evaluating some time later.
In tutorial_lastfm.ipynb, during recommendation phase, freshly trained model is being used. In examples/lastfm.py, calculate_similar_artists finds similarities and writes this to a file. I expected this file to be used in calculate_recommendations so the recommendations will be made based on the knowledge. Since I couldn't detect this part in the code I wanted to ask to find out what I am missing. For me it looks like calculate_recommendations just takes an algorithm name, not the existing file or model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant