bayesnf icon indicating copy to clipboard operation
bayesnf copied to clipboard

Flatten the means from BaeysianNeuralFieldEstimator.predict

Open fsaad opened this issue 1 year ago • 0 comments

The predicted mean array returned by https://github.com/google/bayesnf/blob/2debb69cf21daf7de982843a82436a57d5a97dd3/src/bayesnf/spatiotemporal.py#L273

has three dimensions, (num_devices, ensemble_size // num_devices, len(table) (for MLE/MAP) or even four dimensions (for VI).

It is more convenient to have only two dimensions.

Related #19.

fsaad avatar Feb 09 '24 20:02 fsaad