dotnet / dotnet/machinelearning
Need a supported way to get Eigenvectors from PrincipalComponentAnalysisTransformer
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
I am wanting to evaluate the Eigenvectors when performing Principal Component Analysis. Unfortunately, these appear to locked away inside a private field of PrincipalComponentAnalysisTransformer.
Using reflection, I can get the private _transformInfos field from my fitted instance of PrincipalComponentAnalysisTransformer. This provides me with an array of the private internal class TransformInfo. From here, I can use reflection to get the first array entry's Eigenvectors field which will return my float[][] array.
Would it be possible to add a "GetEigenvectors" method to PrincipalComponentAnalysisTransformer that returns this float[][] data?
Contributor guide
Assessment
This issue has not been assessed yet.