afd5dc51f603cdf30e1991993ba4f06f1f385fc9,poutyne/framework/model.py,Model,evaluate_generator,#Model#Any#,948
Before Change
callback_list.on_test_end(res)
return res
def evaluate_on_batch(self, x, y, *, return_pred=False):
Computes the loss and the metrics of the network on a single batch of samples and optionally
After Change
callback_list,
mode="test")
test_begin_time = timeit.default_timer()
loss, batch_metrics, pred_y, true_y = self._validate(step_iterator,
return_pred=return_pred,
return_ground_truth=return_ground_truth)
test_total_time = timeit.default_timer() - test_begin_time
step_iterator.epoch_metrics = self._get_epoch_metrics()
if return_pred and concatenate_returns:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: GRAAL-Research/pytoune
Commit Name: afd5dc51f603cdf30e1991993ba4f06f1f385fc9
Time: 2021-01-08
Author: david.beauchemin.5@ulaval.ca
File Name: poutyne/framework/model.py
Class Name: Model
Method Name: evaluate_generator
Project Name: dask/dask-ml
Commit Name: 02a3d908cd5a69d47ab5f672bba596e45a938ac6
Time: 2017-06-02
Author: jiminy.crist@gmail.com
File Name: dask_searchcv/methods.py
Class Name:
Method Name: fit_transform
Project Name: dask/dask-ml
Commit Name: 02a3d908cd5a69d47ab5f672bba596e45a938ac6
Time: 2017-06-02
Author: jiminy.crist@gmail.com
File Name: dask_searchcv/methods.py
Class Name:
Method Name: fit
Project Name: dask/dask-ml
Commit Name: 02a3d908cd5a69d47ab5f672bba596e45a938ac6
Time: 2017-06-02
Author: jiminy.crist@gmail.com
File Name: dask_searchcv/methods.py
Class Name:
Method Name: score