Given a set of points, compute the ZscoreTransformer and then a PcaTransformer and its cutoff.
Given a set of points, compute the ZscoreTransformer and then a PcaTransformer and its cutoff.
The set of points to use as the basis for scaling.
The PcaTransformer using the computed ZscoreTransformer and the PCA object computed from the scaled points and the 95% cutoff value.
Companion object that constructs a ZscoreTransformer from the given points, and then computes the principal components from the scaled points. It computes the number of dimensions needed to explain 95% of the variance and uses this to set the PcaTransformer's numComponents value for reducing dimensionality.