Skip to content

Please check this example #14819

Closed
Closed

Description

@mcastse

Even when the several obvious errors are corrected it doesn't work at all.
(e.g. there is no SentimentRazorML.Model.DataModels just SentimentRazorML.Model,
services.AddPredictionEnginePool<ModelInput, ModelOutput>() needs a semicolon,
public IndexModel(PredictionEnginePool<ModelInput, ModelOutput> predictionEnginePool)
{
_predictionEnginePool = predictionEnginePool;
} doesn't seem to want to coexist with the existing constructor referencing logging.

AB#1596631


Document details

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

Activity

  1. Youssef1313 commented on Sep 30, 2019

    @Youssef1313
    Member

    This line you referred to isn't really just missing a semi-colon.
    It's referenced from machinelearning-samples by line number, and it seems like the file in machinelearning-samples was updated but the referencing in docs didn't change. That's what caused the issue.

    image

    I think it should be both 42 and 43.

    @luisquintanilla , Can you confirm this ?

    @rpetrusha, Can you please provide some more information about the access-by-line.txt file ? Will adding it in the machinelearning-samples repo solve such problems ?

  2. luisquintanilla commented on Sep 30, 2019

    @luisquintanilla
    Contributor

    @mcastse Sorry you're having trouble. Model Builder was recently updated and we're in the process of updating our docs to reflect those changes.

    @Youssef1313 Yes. The line references need to be updated. In the process of doing that.

  3. Youssef1313 commented on Sep 30, 2019

    @Youssef1313
    Member

    @mcastse Sorry you're having trouble. Model Builder was recently updated and we're in the process of updating our docs to reflect those changes.

    @Youssef1313 Yes. The line references need to be updated. In the process of doing that.

    I've opened a PR for updating the line numbers already :) (#14821)

  4. mcastse commented on Sep 30, 2019

    @mcastse
    Author
  5. luisquintanilla commented on Sep 30, 2019

    @luisquintanilla
    Contributor

    Great to hear it's now working for you @mcastse. If you'd like, you can try a different dataset for better results.

    https://github.com/dotnet/machinelearning-samples/tree/master/samples/modelbuilder/BinaryClassification_Sentiment_Razor#try-a-different-dataset

    The updates to the tutorial will be reflected later today or tomorrow the latest. Thanks again for raising the issue.

  6. mcastse commented on Oct 1, 2019

    @mcastse
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions