You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No sample for ProjectToPrincipalComponents() available: How to use it with SchemaDefinition? (System.ArgumentOutOfRangeException: 'Schema mismatch for input column')
#974
Open
lucas-albs opened this issue
Dec 9, 2022
· 0 comments
As soon as it runs the last line, I get the error: System.ArgumentOutOfRangeException: 'Schema mismatch for input column 'Prices': expected known-size vector of Single of two or more items, got Vector<Double, 17> (Parameter 'inputSchema')'
What could be wrong? I've been on this for hours, read all documentation and all github examples I found seem to be out of date.
The text was updated successfully, but these errors were encountered:
lucas-albs
changed the title
How to use ProjectToPrincipalComponents with SchemaDefinition? (System.ArgumentOutOfRangeException: 'Schema mismatch for input column')
No sample for ProjectToPrincipalComponents() available: How to use it with SchemaDefinition? (System.ArgumentOutOfRangeException: 'Schema mismatch for input column')
Dec 9, 2022
I am trying to transform a dataview by calculating a PCA using the method ProjectToPrincipalComponents.
Each object is defined as following:
Then I have a list:
I want to read this list in ML.NET:
As soon as it runs the last line, I get the error: System.ArgumentOutOfRangeException: 'Schema mismatch for input column 'Prices': expected known-size vector of Single of two or more items, got Vector<Double, 17> (Parameter 'inputSchema')'
What could be wrong? I've been on this for hours, read all documentation and all github examples I found seem to be out of date.
The text was updated successfully, but these errors were encountered: