We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is this possible, ie can I just
model = ... model.user_factors = pretrained_user_factors model.item_factors = pretrained_item_factors
?
My aim would be to add existing word2vec embeddings to the model.
Thanks a lot, Kind regards,
Adrian
The text was updated successfully, but these errors were encountered:
Hi @phiweger,
Of course!
For example in AlternatingLeastSquares you can set the factors manually.
When model.fit() is called the user_factors and item_factors will not be initialized randomly.
Here the code with the logic: https://github.com/benfred/implicit/blob/master/implicit/als.py#L137
With all respect,
Efstathios
Sorry, something went wrong.
+1 to what @medoidai said: setting the factors before calling fit will use those instead of initializing randomly.
No branches or pull requests
Is this possible, ie can I just
?
My aim would be to add existing word2vec embeddings to the model.
Thanks a lot,
Kind regards,
Adrian
The text was updated successfully, but these errors were encountered: