BMBCResult

class BMBCResult(X, Y, resultSample)

Store result of the Batch Mean Batch Correlation (BMBC) algorithm.

Parameters:
XSample

Original positions of shape (n_samples, n_dims).

YSample

Original measurements of shape (n_samples, 1).

resultSampleSample

Sample containing iteration history with columns: [“iteration”, “M”, “S0”, “S1”, “S1/S0”].

Attributes:
XSample

Original positions.

YSample

Original measurements.

resultSampleSample

Iteration history (last row = final result).

Methods

computeMeanEstimatorVariance()

Compute variance of mean estimator.

getBatchIteration()

Accessor to result sample.

getBlockBoostrapSample()

Get a block bootstrap sample from the initial provided sample.

__init__(X, Y, resultSample)
computeMeanEstimatorVariance()

Compute variance of mean estimator.

Returns:
sigma2_mufloat

Estimated variance of the mean.

getBatchIteration()

Accessor to result sample.

Returns:
resultSampleSample

Sample with values of S0, S1 for various batch sizes.

getBlockBoostrapSample()

Get a block bootstrap sample from the initial provided sample.

Returns:
YbSample

Bootstrap sample constructed by resampling blocks of size M.