estimator
Defines estimators which estimate a model’s ability to represent the data.
All estimators have to implement the Estimator
interface.
-
class
UnbinnedNLL
(model, dataset)[source]
Bases: tensorwaves.interfaces.Estimator
Unbinned negative log likelihood estimator.
- Parameters
-
-
__call__
()[source]
Evaluate discrepancy.
- Return type
float
-
gradient
()[source]
Compute the gradient of the data set.
- Return type
ndarray
-
property
parameters
Get dict
of parameters.
- Return type
dict
-
update_parameters
(new_parameters)[source]
Update the collection of parameters.
- Parameters
new_parameters (dict
) –
- Return type
None