fastFM icon indicating copy to clipboard operation
fastFM copied to clipboard

verbose

Open weichen1984 opened this issue 8 years ago • 3 comments

Am I missing something? I cannot seem to find where I can set a verbose flag? I would like to see after each iteration, how do the metrics improve, such as the output from the original implementation.

weichen1984 avatar Apr 27 '17 17:04 weichen1984

It does not appear that there is any logging capability currently. In libFM it prints out the training and testing regression accuracy or classification accuracy after each iteration. With scipy minimization you can specify after how many iterations details should be printed out. It's very helpful to me to understand how quickly things are converging.

It would be great to see some logging/output capability added. Thanks for this excellent tool though!

brawner avatar Jun 19 '17 22:06 brawner

The model parameter in fastFM can be inspected after each iteration without much overhead. This allows you to create your own logging output in python. This approach is much more flexible but requires some boiler plate code (see. http://ibayer.github.io/fastFM/guide.html#learning-curves).

ibayer avatar Jun 20 '17 05:06 ibayer

Thanks for the tip! That will work just fine

On Tue, Jun 20, 2017 at 1:29 AM, ibayer [email protected] wrote:

The model parameter in fastFM can be inspected after each iteration without much overhead. This allows you to create your own logging output in python. This approach is much more flexible but requires some boiler plate code (see. http://ibayer.github.io/fastFM/guide.html#learning-curves).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ibayer/fastFM/issues/95#issuecomment-309648806, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_x-h5hei9CS-xWhvKAiBAD3zSj5-aWks5sF1i_gaJpZM4NKj2h .

brawner avatar Jun 20 '17 14:06 brawner