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

why not output the mse in the result? for performance? #11

Closed
zachzh opened this issue Nov 25, 2016 · 3 comments
Closed

why not output the mse in the result? for performance? #11

zachzh opened this issue Nov 25, 2016 · 3 comments

Comments

@zachzh
Copy link

zachzh commented Nov 25, 2016

No description provided.

@benfred
Copy link
Owner

benfred commented Nov 25, 2016

MSE can be pretty easily calculated at run time - and seems like it could be a helpful diagnostic to check convergence. I'll see about adding sometime soon

@zachzh
Copy link
Author

zachzh commented Nov 26, 2016

Yes, it really help. Hope to see that :)

@benfred
Copy link
Owner

benfred commented Dec 10, 2016

I've added a function to calculate MSE here da1a7fa

I've left off by default since there is still a small performance penalty for calculating this, but if you pass 'calculate_training_loss=True' to alternating_least_squares this will calculate the loss at each iteration and log it out

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

No branches or pull requests

2 participants