Skip to content
Snippets Groups Projects
  • Lê Trung Hoàng's avatar
    Update next-basket evaluation (#559) · af62a206
    Lê Trung Hoàng authored
    
    * 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>
    af62a206