machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

Provide sample and documentation for PredictionFunction object-pooling for ASP.NET applications

Open shmoradims opened this issue 8 years ago • 2 comments

This is the concrete work item from discussions in #1718.

Motivation: Majority of .NET Core apps use ASP.NET Core. In order to get the best developer experience we should provide a sample that implements object pooling approach for PredictionFucntion (which is not trivial) and also document it in docs.microsoft.com.

Based on feedback from users, we might add this functionality to ML.NET.

shmoradims avatar Nov 30 '18 19:11 shmoradims

👍 Adding also @JRAlexander since I'll work with him for the documentation at docs.microsoft.com in order to be aligned.

CESARDELATORRE avatar Nov 30 '18 19:11 CESARDELATORRE

I created a sample showing Object Pooling for the PredictionEngine targeting high scalable web apps, here:

https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/end-to-end-apps/Regression-SalesForecast/src/eShopDashboard

@luisquintanilla is also working on a Tutorial for this scenario.

So, I'm closing this issue.

We might want to discuss how to simplify this scenario in the future, though..

CESARDELATORRE avatar Mar 04 '19 18:03 CESARDELATORRE