From 5c8550bd12c8212956626e402dbdfba953d231c8 Mon Sep 17 00:00:00 2001 From: Protiguous Date: Fri, 1 Jul 2022 09:27:26 -0600 Subject: [PATCH] Fixed small typo. "PredictionEnginPool" -> "PredictionEnginePool" --- .../modelbuilder/BinaryClassification_Sentiment_Razor/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/modelbuilder/BinaryClassification_Sentiment_Razor/README.md b/samples/modelbuilder/BinaryClassification_Sentiment_Razor/README.md index f2c2ff712..318dd5e84 100644 --- a/samples/modelbuilder/BinaryClassification_Sentiment_Razor/README.md +++ b/samples/modelbuilder/BinaryClassification_Sentiment_Razor/README.md @@ -65,7 +65,7 @@ A challenge when making a single prediction with an ML.NET model in multi-thread #### Solutions -For improved performance and thread safety, use the `PredictionEnginePool` service, which creates an `ObjectPool` of `PredictionEngine` objects for application use. To use it within your application, add the `Microsoft.Extensions.ML` NuGet package to your project and register the `PredictionEnginPool` as you would any other dependency inside the `Startup` class of the *SentimentRazorML* project. +For improved performance and thread safety, use the `PredictionEnginePool` service, which creates an `ObjectPool` of `PredictionEngine` objects for application use. To use it within your application, add the `Microsoft.Extensions.ML` NuGet package to your project and register the `PredictionEnginePool` as you would any other dependency inside the `Startup` class of the *SentimentRazorML* project. ```csharp services.AddPredictionEnginePool()