Predict prices using regression with ML.NET

Machine learning with Human

Create a console application

  1. Create a.NET Core Console Applicationcalled “TaxiFarePrediction”.
  2. Create a directory namedDatain your project to store the data set and model files.
  3. Install theMicrosoft.MLNuGet Package:InSolution Explorer, right-click the project and selectManage NuGet Packages. Choose “nuget.org” as the Package source, select theBrowsetab, search forMicrosoft.ML, select the package in the list, and select theInstallbutton. Select theOKbutton on thePreview Changesdialog and then select theI Acceptbutton on theLicense Acceptancedialog if you agree with the license terms for the packages listed. Do the same for theMicrosoft.ML.FastTreeNuget package.

Prepare and understand the data

  1. Download thetaxi-fare-train.csvand thetaxi-fare-test.csvdata sets and save them to theDatafolder you’ve created at the previous step. We use these data sets to train the machine learning model and then evaluate…

View original post 1,775 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.