dotnet / dotnet/machinelearning-modelbuilder
Schema Mismatch for Score Column During Model Training in ML.NET
- Dominant language
- Dockerfile
- Stars
- 285
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Issue
When attempting to train a model in ML.NET, I encountered a schema mismatch error for the score column. The error message states:
Schema mismatch for score column "Score": expected vector of two or more items of type Single, got Vector. (Parameter 'schema').
Steps to Reproduce
Load data into the ML.NET Model Builder.
Configure the model training process.
Click on the "Train" button to initiate training.
The above error occurs, preventing model training from proceeding.
Expected Behavior
Model training should proceed without a schema mismatch error, or the tool should provide clear guidance for resolving the issue.
Observed Behavior
The error suggests changing the problem data type in the "Advanced Data Options" on the Data Page, but further details are unclear.
Environment
ML.NET Version: [Specify version, if known]
Visual Studio Version: [Specify version, if applicable]
Operating System: [Specify OS and version]

Additional Context
The dataset used for training contains a target column expected to be a vector. It is unclear how to resolve this issue using the Advanced Data Options or if additional configuration is required for compatibility.
Please provide guidance on resolving this issue or update the tool to handle this scenario more gracefully.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.