-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
I am trying to change MNIST example that uses the StochasticDualCoordinateAscent to use LogisticRegression instead but get the following exception thrown:
Schema mismatch for label column '': expected Key, got R4
Parameter name: labelCol
Does anyone know what this means and how I can fix this?
I only changed:
var trainer = mLContext.MulticlassClassification.Trainers.StochasticDualCoordinateAscent(labelColumnName: "Number", featureColumnName: DefaultColumnNames.Features);
To:
var trainer = mLContext.MulticlassClassification.Trainers.LogisticRegression(labelColumnName: "Number", featureColumnName: DefaultColumnNames.Features);
Thanks!
Metadata
Metadata
Assignees
Labels
No labels