Skip to content

Commit

Permalink
Simplify trainer call
Browse files Browse the repository at this point in the history
  • Loading branch information
jwood803 committed Feb 22, 2019
1 parent c9b824c commit 169b99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MLNetExamples/DatabaseData/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static void Main(string[] args)

var pipeline = context.Transforms.Concatenate("Features", "YearsExperience")
.Append(context.Transforms.CopyColumns(("Label", "Salary")))
.Append(context.Regression.Trainers.FastTree(labelColumn: "Salary", featureColumn: "Features"));
.Append(context.Regression.Trainers.FastTree());

var model = pipeline.Fit(trainData);

Expand Down

0 comments on commit 169b99e

Please sign in to comment.