Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion IssueLabeler/src/Trainer/Trainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static async Task CreateModel(string dataPath, string modelPath, ModelType type,
.Append(xf.Text.FeaturizeText(
"Features",
new TextFeaturizingEstimator.Options(),
columns.Select(c => c.Name).ToArray()))
columns.Where(c => c.Name is not "Label").Select(c => c.Name).ToArray()))
.AppendCacheCheckpoint(mlContext)
.Append(mlContext.MulticlassClassification.Trainers.SdcaMaximumEntropy("LabelKey"))
.Append(xf.Conversion.MapKeyToValue("PredictedLabel"));
Expand Down
Loading