Skip to content
Snippets Groups Projects
Unverified Commit af62a206 authored by Lê Trung Hoàng's avatar Lê Trung Hoàng Committed by GitHub
Browse files

Update next-basket evaluation (#559)


* Fix eval and add batch basket items iteration

* refactor code

* Fix scoring function

* refactor code

* Add unittest for NextBasketEvaluation

* Add unittest for BasketDataset

* Add test NextBasketRecommender

* Add test case reading basket data

* refactor code

* Add history basket ids for accessing extra data in scoring function

* Add option to scoring function based on quantity provided in extra_data

* refactor code

* reuse user_iter() in ub_iter()

* reuse ub_iter() in ubi_iter()

* consider using num_user_batches() instead of overwriting existing num_batches()

---------

Co-authored-by: default avatartqtg <tuantq.vnu@gmail.com>
parent 190c5a1e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment