The body every summary() method for a fit shares. estimator is the one
field whose name depends on what was trained: density_estimator for
npe() and nle(), classifier for nre(). print() inside dispatches
on the object's own class, so nothing else here has to know which fit it has.
Usage
fit_summary(object, estimator)
Arguments
- object
The fit.
- estimator
A one-element named list, spliced in ahead of the rest.