0

I have the following code:

[Command("aitest2")]
public async Task test(string text)
{
    var input = new ModelInput();
    input.SentimentText = text;
    // Load model and predict output of sample data
    ModelOutput result = ConsumeModel.Predict(input);
    await ReplyAsync($"Text: {input.SentimentText}\nIs Toxic: {result.Prediction}");
}

It gives me the error: Could not load file or assembly 'Microsoft.ML.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' Upon searching this up I have gotten no results/answers I am using vs 2017 and ML.NET

Yan Ivanov
  • 11
  • 5

0 Answers0