I have 20 million records of Dataset to train the model.
Why Label column I have to add?
I have 20 million records of Dataset to train the model.
Why Label column I have to add?
Label
is how ML.NET calls the 'target variable', the one that you want to predict, based on the other variables, called features.
If you do not give ML.NET a 'label column name' (or a name of your 'target variable' column), it will assume that the label column is called Label
. Hence the error you are probably seeing Label column 'Label' is not found
.
The "label" is what your model needs to predict. That is done by training your model with "features" or in other words, information that has relevance to the "label".
For example lets say we have an image data in the form of pixels in an excel file, if you have a number "5" and it has 50 features. Now 5 is what the "label" holds, and the 50 features are used to learn what a 5 looks like. So label is needed because otherwise it doesn't know what the features belong to.