mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
01be9c164a
Summary: The evaluator has become difficult to work with. This diff does the following: 1. Creates an EvaluationDataPage similar to TrainingDataPage. 2. Separates datasets into training and evaluation. Evaluation datasets are stored in order so we do not need to un-shuffle them. 3. Assumes the evaluator can process all of the data in one shot. This assumption is now true because we don't need to store features in EvaluationDataPage and we don't need to evaluate during training. 4. Split evaluator.py into: evaluator.py, cpe.py, *_estimator.py The diff creates some TODOs that I'll turn into tasks (likely bootcamp tasks): 1. Write tests for the estimators Reviewed By: econti Differential Revision: D13279810 fbshipit-source-id: fb11ac35ccfb785051f272abfcb9a549fa8fbe64