| 314 | virtual void evaluate(BCDProgress* prog) = 0; |
| 315 | |
| 316 | void loadData(const DataConfig& data, ExampleInfo* info, int *hit_cache) { |
| 317 | *hit_cache = dataCache("train", true); |
| 318 | if (!(*hit_cache)) { |
| 319 | slot_reader_.init(data, bcd_conf_.local_cache()); |
| 320 | slot_reader_.read(info); |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | virtual void preprocessData(int time, const BCDCall& call) { |
| 325 | int grp_size = call.fea_grp_size(); |