Two Mistakes in the Documentation #5248
Labels
dotnet-ml/svc
in-pr
This issue will be closed (fixed) by an active pull request.
⌚ Not Triaged
Not triaged
Milestone
Hi,
I spotted a couple of issues with the documentation..
PredictionModel<TaxiTrip, TaxiTripFarePrediction> model = pipeline.Train<TaxiTrip, TaxiTripFarePrediction>();
await model.WriteAsync(ModelPath);
return model;
[Column(ordinal: "6", "Label")]
public float fare_amount;
..to..
[Column(ordinal: "6", name: "fare_amount")]
public float fare_amount;
I suspect though, that this should have been handled by the ColumnCopier line:
pipeline.Add(new ColumnCopier(("fare_amount", "Label")));
Mike
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: