A Simple ML.NET Linear Regression Machine Learning Application
The code in the video tutorial project demonstrates the simplest ML.NET application. This application solution is based on the Microsoft document at: https://docs.microsoft.com/en-us/dotnet/machine-learning/how-does-mldotnet-work#hello-mlnet-world This example constructs a linear regression model to predict house prices using house size and price data. #machinelearning #datascience #artificialintelligence #mlnet #mlnettutorial Code: using Microsoft.ML; using Microsoft.ML.Data; using System; namespace Hello_ML.NET { class Program { public class HouseData { public float Size { get; set; } public float Price { get; set; } } public class Prediction { [ColumnName("Score")] ...
Comments
Post a Comment