lightfm
lightfm copied to clipboard
Added a custom verbose option
With these changes, the verbose parameter in the fit
and fit_partial
methods can be a boolean or a function, and if it's a function it will be called the same way as print
. So, with that, you can pass a logging function to the those methods.
Is this option already available? Is there any workaround to achieve such a custom log for epoch print?
Hey @josemazo, thank you for the PR!
I currently only have access to Github on Mobile. I'll have a look and get back to you soonish!
@borysrybak: If you already want to use this, you could apply these changes to a personal fork!
@SimonCW Thanks a million! 🙏