You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate remaining inprogress samples to v1.0.0-preview (dotnet#360)
* Minor changes in ReadMe.md
Changed the scenarios wording from real time to cross cutting
* Casing changes in Readme File
* Migrating BikeSharingDemand sample to ML.Net v1.0.0-preview.
-added new solution file with v1.0.0
-Changed common Directory.Build.props file to v1.0.0-preview
* Changed ReadMe file of BikeSharing Demand sample.
Added build.Props file in remaining samples to fix build errors
* Minor change: BikesharingDemand sample -Removed unnecessary nuget package
* Migrated Credit Card Fraud Detection Sample.
* Migrated sample Customer segmentation
* Commiting model file of migrated sample Customer Segmentation
* Migrated Heart Disease Console APP.
* WIP: Migrating IRIS Classification sample
* Migrated IRIS Clustering sample to v1.0.0-preview
* Migrated Movie Recommender Sample to v1.0.0-preview.
* Migrated Movie Recommender E2e Sample to v1.0.0-preview
* Migrated Timeseries -PowerAnomalyDetection sample to ML.Net v1.0.0-preview
* Migrated Product Recommendation sample to v1.0.0-preview
* Power Anomaly Detection sample: some minor changes and updated ReadMe file to ML.Net 1.0.0-preview
* Migrated Sentiment Anlysis Sample to ML.Net v1.0.0-preview.
Commented Previewing of features column as it displays a number of 0's which is difficult to read.
* Migrated ShampooSales Spike Detection sample to v1.0.0-preview
* Migrated TaxiFare Prediction sample to ML.net v1.0.0-preview
* Migrated TensorFlow scorer-Image Classification Sample
* Migrated Sales Forecast sample to v1.0.0-preview
* changes in common files.
* Changed the solution file name
* Removed the unnecessary solution files.
* Migrated MNIST sample to ML.Net 1.0.0-preview.
Changed the trainer name to sdcaMaximumEntropy.
* ReadMe file of MNIST sample.
* Updated version number in Readme file of MNIST sample.
* Migrated MultiClass Classification_Iris sample to ML.Net 1.0.0-preview
* Migrated Github labeler sample to Ml.Net 1.0.0-preview.
* updated solution file
* migrated Scalable WEBAPI sample to v1.0.0-preview
* Minor changes in GITHUB labeler sample
* Minor changes in Sentiment Anlaysis sample. Using the model path directly intead of filestream.
* WIP: migrating TensorFlow Estimator sample.
* For TesnorFlow Estiamtor sample, the model got updated. storing the updated model in Predict project.
* Minor change
* Migrated Spam Detection Sample to Ml.Net 1.0.0-preview
* Updated sln file.
* Refactored Bike Sharing sample code to directly pass the filepath instead of file stream
* Refactored CreditCard Fraus Detection sample to use filepath instead of filestream
* Minor changes in Customer Segmenation sample
* no need to use filestream
* Removed old build.props file.
* Heart Disease Sample: Replaced file stream with filepath
* Iris Clustering Sample: Replaced file stream with filepath
* IRIS Classification sample: Replaced file stream with filepath
* Movei Recommender E2E sample: Refactored code to replace filestream with fielpath
* Minor changes
* Sales Forecast sample:
Refactored code to replace filestream with file path
* Migrated shampoosales spike detection sample to Ml.Net 1.0.0-preview
* Migrated ReadMe file for Shampoo sales E2E sample.
* ReadMe file of TensorFlow Estimator is migrated to 1.0.0-preview
* Refactored TaxiFare sample to replace filestream with filepath
* Refactored Powet Anomaly detection sample to repalce filestream with filepath
* Changed the training algorithm to use linear classification
* Refactored SpamDetection Sample and ReadMe file.
* Updated ReadMe of Github Labeler sample
* minor change
* Changed the name of sample in ReadME file
* Minor changes
* Minor changes
* updated build file.
Changed solution file.
Added new solution to include only cosnole proj to make the build successful
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/MulticlassClassification-GitHubLabeler/GitHubLabeler/GitHubLabelerConsoleApp/Common/ConsoleHelper.cs
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/MulticlassClassification-GitHubLabeler/GitHubLabeler/GitHubLabelerConsoleApp/GitHubLabeler.csproj
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/MulticlassClassification-GitHubLabeler/GitHubLabeler/GitHubLabelerConsoleApp/Labeler.cs
+2-6
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,10 @@ public Labeler(string modelPath, string repoOwner = "", string repoName = "", st
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/MulticlassClassification-GitHubLabeler/GitHubLabeler/GitHubLabelerConsoleApp/Program.cs
// (OPTIONAL) Try/test a single prediction with the "just-trained model" (Before saving the model)
132
129
GitHubIssueissue=newGitHubIssue(){ID="Any-ID",Title="WebSockets communication is slow in my machine",Description="The WebSockets communication used under the covers by SignalR looks like is going slow in my development machine.."};
133
130
// Create prediction engine related to the loaded trained model
This is a simple prototype application to demonstrate how to use [ML.NET](https://www.nuget.org/packages/Microsoft.ML/) APIs. The main focus is on creating, training, and using ML (Machine Learning) model that is implemented in Predictor.cs class.
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/Recommendation-MovieRecommender/MovieRecommender/movierecommender/Controllers/MoviesController.cs
+2-6
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,8 @@ public ActionResult Recommend(int id)
44
44
// 1. Create the ML.NET environment and load the already trained model
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/Recommendation-MovieRecommender/MovieRecommender/movierecommender/MovieRecommender.csproj
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/Regression-SalesForecast/src/eShopForecastModelsTrainer/CountryModelHelper.cs
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/Regression-SalesForecast/src/eShopForecastModelsTrainer/ProductModelHelper.cs
|v0.11| Up-to-date | ASP.NET Core 2.2 WebAPI | Single data sample | Sentiment Analysis | Binary classification | Linear Classification |
8
+
|v1.0.0-preview| Up-to-date | ASP.NET Core 2.2 WebAPI | Single data sample | Sentiment Analysis | Binary classification | Linear Classification |
9
9
10
10
11
11
**This posts explains how to optimize your code when running an ML.NET model on an ASP.NET Core WebAPI service.** The code would be very similar when running it on an ASP.NET Core MVC or Razor web app, too.
Copy file name to clipboardExpand all lines: samples/csharp/end-to-end-apps/ScalableMLModelOnWebAPI/src/Scalable.Model/Engine/PooledPredictionEnginePolicy.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public PredictionEngine<TData, TPrediction> Create()
0 commit comments