Skip to contents

The body of de_iid_evaluator()'s default method, with the per-pair scorer left open so nre_iid_evaluator() can reuse it.

Usage

iid_evaluator(de, x, max_batch, score)

Arguments

de

A fitted density estimator.

x

Standardized observations, n_obs x dim_x.

max_batch

Largest number of pairs evaluated at once.

score

The per-pair scorer, function(de, x, theta).