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

when iterating, it always needs to initialize the left factor to 0? #28

Open
jackyhawk opened this issue Apr 18, 2019 · 3 comments
Open

Comments

@jackyhawk
Copy link

jackyhawk commented Apr 18, 2019

As for als ,

when iterating, it always needs to initialize the left factor to 0?

what if I just use setFactors(genUnif) to initialize the left factor in the first round of optimizing,
and then just keep the fitting factors in later iterating?


And what if i change the als training as the incremental mini-batch mode, shall i still need to initialize the left factor to 0?

@albietz

Thanks very much

@jackyhawk
Copy link
Author

Shall I just load the left factor from other iteration (or mini-batch) result,

and comment these two lines?

#if 0
auto genZero = { return 0.0; };
leftData.setFactors(genZero);
#endif

@jackyhawk
Copy link
Author

@eggie5
@MattPD
@eggie5

thanks very much

@jackyhawk
Copy link
Author

@albietz

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

No branches or pull requests

1 participant