PCAModel (Spark 3.5.5 JavaDoc) (original) (raw)


public class PCAModel
extends Model<PCAModel>
implements PCAParams, MLWritable
Model fitted by PCA. Transforms vectors to a lower dimensional space.
param: pc A principal components Matrix. Each column is one principal component. param: explainedVariance A vector of proportions of variance explained by each principal component.
See Also:
Serialized Form