dotnet / dotnet/machinelearning-modelbuilder

Data Classification unable to train

Open
#2,905 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**System Information (please complete the following information):**
Model Builder Version 17.18.2.2415501
VS 2022 Version 17.9.2

**Describe the bug**
training
fails to train with example provided in Microsoft ML Net tutorial Data Classification ML

**To Reproduce**
Steps to reproduce the behavior:
1. Create new console application
2. Create csv file with this data SepalLength SepalWidth Petal Length Petal Width Species
5.1 3.5 1.4 0.2 setosa (provided https://learn.microsoft.com/en-us/dotnet/machine-learning/automate-training-with-model-builder#data))
3. Save training file to application folder
4. Add new ML config file
5. Browse to the created training file
6. Select Species as Label
7. Click Next Step
8. Click Train
9. See Error Schema mismatch for score column 'Score': expected vector of two or more items of type Single, got Vector
Parameter name: schema

**Expected behavior**
This model should train (as provided)

**Additional context**
Also tried a four row CVS file with this data.
Temperature,Humidity,Dewpoint,Windspeed,Visibility,Alert
0.0,45.0,0.0,0.0,0.0,frost
5.0,45.0,5.0,0.0,0.0,dew
5.0,45.0,7.0,0.0,0.0,none
Same error received on training using this data.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.