massquantity
massquantity
Just ask Gemini 2.5 Pro, "What is hashing trick in recommender system?" This library uses TensorFlow, which is hard to refactor and almost dead nowadays. The new library will use...
https://kbroman.org/github_tutorial/pages/fork.html
`TwoTower` inherits from the `DynEmbedBase` class, so it can't use the `predict_tf_feat` function. Since it is an embedding model, you can use [Dynamic Embedding Generation](https://librecommender.readthedocs.io/en/latest/user_guide/embedding.html#dynamic-embedding-generation) to generate the user embedding...
OK, I'll consider adding the return_scores option.
You should reset the TF default graph before constructing the new model, i.e. call `tf.compat.v1.reset_default_graph()` before `new_fm = FM(...)`.