No sample for ProjectToPrincipalComponents() available: How to use it with SchemaDefinition? (System.ArgumentOutOfRangeException: 'Schema mismatch for input column') #974
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.
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.