Skip to content

Conversation

@dakl
Copy link

@dakl dakl commented Mar 16, 2018

Hello,

Me and @corvuscrypto implemented a way to store the loss value in the model.

Is this interesting to you?

cheers

@dakl
Copy link
Author

dakl commented Mar 16, 2018

We can update the c files if this is interesting to you.

Copy link
Collaborator

@maciejkula maciejkula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently you are getting the loss of the last processed example, which is not really what you want.

This is a little bit more complicated. Firstly, you'll need to accumulate the loss. Secondly, in parallel mode the fitting loops are executed in parallel. You will therefore need to accumulate losses separately in each thread and sum on loop completion.

Is that something you'd like to tackle? I am pretty sure this is not worth the effort.

item_alpha,
user_alpha)

return loss
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is, in fact, the loss of the current example. So not what you want at all!

@dakl
Copy link
Author

dakl commented Mar 17, 2018

Haha, that's my misunderstanding! Let's kill this PR with fire then :)

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

Successfully merging this pull request may close these issues.

2 participants