Skip to content

FEAT: accept array-valued parameters in estimators - #583

Open
grayson-helmholz wants to merge 1 commit into
ENH/jit-estimatorsfrom
FEAT/array-parameters
Open

FEAT: accept array-valued parameters in estimators#583
grayson-helmholz wants to merge 1 commit into
ENH/jit-estimatorsfrom
FEAT/array-parameters

Conversation

@grayson-helmholz

Copy link
Copy Markdown
Contributor

Closes #571

Parameter values passed to ChiSquared and UnbinnedNLL may now be
one-dimensional arrays of shape (p,), which are broadcast against the
event axis so that the estimator returns one value per parameter point,
all in a single backend-parallelized call. This makes it cheap to e.g.
propagate fit uncertainties over bootstrapped parameter samples, as done
in ComPWA/polarimetry. Behavior for scalar parameter values is unchanged.

Closes #571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Array-valued parameters for batched estimator evaluation

2 participants