dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
265 stars 56 forks source link

The generated sample data code snippet does not contain data for all features #1914

Open hollowdrutt opened 3 years ago

hollowdrutt commented 3 years ago

System Information (please complete the following information):

Describe the bug

To Reproduce

I have Windows set to use Swedish locale and followed the steps in the learn module Train a predictive maintenance machine learning model with ML.NET Model Builder - Exercise: Train a machine learning model and Exercise: Consume model in .NET console app

Expected behavior I expected the sample code snippet to contain data for all included features and the console application to produce the expected prediction.

Screenshots image image image image image

Additional context

I have Windows set to use Swedish locale, the csv file with data uses . as decimal separator. The issue is possibly related to Evaluate step can not parse the sample data it has generated, when using Swedish locale

beccamc commented 2 years ago

@LittleLittleCloud Can you take a look at this? Maybe related to the templates?

LittleLittleCloud commented 2 years ago

My best guess is that some column name contains blank space which causes column name doesn't match. @hollowdrutt Can you

hollowdrutt commented 2 years ago

@LittleLittleCloud I am using the dataset https://archive.ics.uci.edu/ml/machine-learning-databases/00601/ai4i2020.csv

But I would guess that it is caused by my local culture settings, not by the column names.

LittleLittleCloud commented 2 years ago

Thanks @hollowdrutt We'll take a look

LittleLittleCloud commented 2 years ago

Might relate to #1913