-
Notifications
You must be signed in to change notification settings - Fork 612
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
Fit callback in BPR model #590
Conversation
Hi. Adding callback looks good to me, but
|
Hi! IMHO, I found it more useful if callback function will have straight access to model and that may be better for evaluation than ALS callback format. And if it would be in |
I think your idea makes sense. however, it looks not good practice that same function (also sharing same name) has different behaviors in a different module. So, considering that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my one suggestion is that it will be also good if ALS and other recommender models take fit_callback as an argument
That sounds good, also I kept backward compatibility in ALS model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I found
fit_callback
in ALS implementation, but it can be also useful in BPR model. For example: