You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support hyper-parameter search for next-item recommenders (#643) (#702)
* Support hyper-parameter search for next-item recommenders (#643)
GridSearch/RandomSearch could not tune NextItemRecommender models
evaluated with NextItemEvaluation:
- NextItemEvaluation.evaluate() rejected the search wrapper because
it is a Recommender, not a NextItemRecommender.
- BaseSearch.fit() scored next-item models with the standard
ranking_eval, whose rank()/score() path is incompatible with the
session-based score(history_items=...) signature.
Fix:
- Accept a search wrapper whose .model is a NextItemRecommender.
- Route next-item models through next_item_evaluation.ranking_eval
during search, using the eval_method's exclude_unknowns/mode.
- Delegate transform/score/rank from BaseSearch to the best model
so the fitted wrapper evaluates transparently.
Add GridSearch/RandomSearch next-item tests.
* update get model seed
* add seed for reproducible hyperopt search
---------
Co-authored-by: hieuddo <hieu.dd.1998@gmail.com>
0 commit comments