python-qinfer
python-qinfer copied to clipboard
Custom loss functions for perf_test and perf_test_multiple
Currently the 'loss'
field collected by perf_test
and perf_test_multiple
is always taken to be the quadratic loss, but in many cases it's worthwhile to consider other loss functions (such as those given by Model.distance
or by canonicalization). Perhaps we should add another kwarg to allow customizing how losses are recorded?