Known Limitations¶
-
Training and new-row scores have different posterior meanings.
scores_contains the joint variational means estimated during fitting.transform(new_data)returns conditional score means under the fitted loading posterior, andtransform_posterior(new_data)also returns the conditional covariance. Do not treat these conditional projections as the original joint training posterior. -
inverse_transform()always returns dense output, even when the input was sparse CSR/CSC. -
MissingAwareSparseOneHotEncoderrequires numeric categories. String categories cannot survive the CSR round-trip. -
Data convention.
AutoEncoderand the nativevbpca_py.VBPCAestimator use samples × features. The explicitvbpca_py.legacy.VBPCAadapter and the low-levelpca_fullboundary retain features × samples. -
Legacy RMS ordering with uncentered data. The original MATLAB update order estimates the mean before updating the latent factors. With
bias=Trueand non-zero feature means, this one-step lag can produce a period-2 RMS trace. It remains available asbias_update_order="legacy"and is selected automatically bycompat_mode="strict_legacy".Use
bias_update_order="post_factor"to estimate the mean and evaluate RMS from the same factor state.recommend_config()andcompat_mode="modern"select that order automatically. The registered defaults study retained prediction and calibration and found equal or lower rank error with post-factor ordering. Pre-centering withMissingAwareStandardScalerremains a useful conditioning step, but it is no longer required solely to align the mean and RMS diagnostics. -
Legacy variance ordering with
rotate2pca. The MATLAB order updates the ARD prior variances \(V_a\) before each iteration's PCA rotation, so the loadings update can apply a component's prior variance to a different column, and the returned \(V_a\) need not match the returned components. It remains thecompat_mode="strict_legacy"default (variance_update_order="legacy");variance_update_order="post_rotation"re-estimates the prior variances after the rotation. A paired comparison of the two orders is required before changingrecommend_config(). -
Fits are non-reproducible unless seeded.
VBPCA(random_state=None)(the default) draws fresh entropy for parameter initialization and any auto-generated xprobe mask on every call tofit(), so repeated fits on the same data can converge to different results. Pass anintornp.random.Generatorviarandom_statefor reproducible runs. Initialization is not seeded implicitly.