Life is memorable. Share your experience. Help others. Return the favor.
Terms Of Use
Privacy Policy
About
FAQ
Help
Contact Us
As an Amazon Associate and affiliate with other third parties, Echofavor earn from qualifying purchases and display advertisements.
0.0839974
(Collection)ML.NET
Nov. 23, 2018 - Ed Charbeneau - Blazor and ML.NET sample project
Watch video:
Author blog:
Download code:
ML.NET
- .NET Standard 2.0.3 reference ML.NET 0.7.0
- 70% training and 30% test data (actual data)
Taxi Fare Sample
- https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/taxi-fare
- Console app - reference Nuget Microsoft.ML package
- features and label (i.e. FareAmount)
- train - read the data, transform the data
- fast tree - regression learner
- evaluation metric for regression model - RSquared (closer to 1 the better the model is)
- evaluation metric for regression model - Rms (the lower it is the better the model)
- Function input (TaxiTrip) => output TaxiTripFarePrediction
Taxi Service
- load model into MLContext
Blazor Server side (Razor Component)
- Blazor Server side is compatible with ML.NET as a dll service.
Blazor client side (web assembly)
- cannot add ML.NET as a reference
- challenge on how to read the model file
- whether blazor will crap out when running the service dll
|
Copyright © Echofavor 2021. All Rights Reserved. | Powered by Echofavor |