PcaModelParameters.GetEigenVectors(VBuffer<Single>[], Int32) Method

Definition

Copies the top eigenvectors of the covariance matrix of the training data into a set of buffers.

public void GetEigenVectors (ref Microsoft.ML.Data.VBuffer<float>[] vectors, out int rank);
member this.GetEigenVectors : VBuffer * int -> unit
Public Sub GetEigenVectors (ByRef vectors As VBuffer(Of Single)(), ByRef rank As Integer)

Parameters

vectors
VBuffer<Single>[]

A possibly reusable set of vectors, which will be expanded as necessary to accommodate the data.

rank
Int32

Set to the rank, which is also the logical length of vectors.

Applies to