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

Add an alpha parameter for the ALS models #581

Merged
merged 3 commits into from
Jun 7, 2022
Merged

Add an alpha parameter for the ALS models #581

merged 3 commits into from
Jun 7, 2022

Conversation

benfred
Copy link
Owner

@benfred benfred commented Jun 6, 2022

This adds an alpha parameter to the ALS models - which is the weight each
positive example is multiplied by. While we could previously achieve the
same result before by passsing a sparse matrix to model.fit where the weight
was already multiplied in, having as an explicit parameter makes it easier
to work with hyper parameter tuning frameworks - letting you treat the same
as things like regularization/epochs etc

This adds an alpha parameter to the ALS models - which is the weight each
positive example is multiplied by. While we could previously achieve the
same result before by passsing a sparse matrix to model.fit where the weight
was already multiplied in, having as an explicit parameter makes it easier
to work with hyper parameter tuning frameworks - letting you treat the same
as things like regularization/epochs etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant