Skip to content

Code snippets seem to be out of sync with the code? #9096

@n4ppy

Description

@n4ppy

Hi in the section "Save and Return the model trained to use for evaluation"
The text mentions "Return the model at the end of the Train method." but the code block has "Evaluate(mlContext, model);"
There are other blocks that also do not correspond.

Also the public static void Predict(PredictionModel<SentimentData, SentimentPrediction> model)
and the call Predict(mlContext, model); do not match up.

Is stuff oyt of sync?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions