[ML.NET] Predicting the Future with ML.NET with examples

Hello, I’m Duc Nguyen (Duke)

Today I will introduce ML.NET to the .NET community

So, what’s the ML.NET?

ML.NET is a cross-platform machine learning framework developed by Microsoft
Open source
Used in situations where it’s necessary to incorporate …


This content originally appeared on DEV Community and was authored by Duc Nguyen Thanh

Hello, I’m Duc Nguyen (Duke)

Today I will introduce ML.NET to the .NET community

So, what’s the ML.NET?

  • ML.NET is a cross-platform machine learning framework developed by Microsoft
  • Open source
  • Used in situations where it’s necessary to incorporate machine learning into C# or F# applications in order to avoid switching to other programming languages, such as Python (.NET ecosystem).
  • Able can be expanded to function with additional machine learning libraries, like TensorFlow, assisting in utilizing current models and lowering obstacles to ML.NET adoption.
  • Can be deployed in various environments, from desktop apps to web services

Future Housing Price Forecast in Hanoi, Vietnam

Alright, first you can get the source code from my repository here

Then, you can see:

Code structure

- HaNoi-VN_housing_dataset.csv: sample data file used for training
- lib/HousePriceForecast.consumption.cs: Defines the “Predict” method, which takes input data and returns predictions using the trained model
- lib/HousePriceForecast.evaluate.cs: Defines the method for calculating PFI (Permutation Feature Importance) through the “CalculatePFI()” method — determines the level of influence from input data
- lib/HousePriceForecast.mlnet: Binary file containing the trained ML.NET model and related metadata and if there’s a similar project, this model can be reused without retraining
- lib/HousePriceForecast.training.cs: Used to train the ML.NET model and defines data processing steps and algorithm selection

Now, on to the fun part, practice!

You can also refer to the animation image here


This content originally appeared on DEV Community and was authored by Duc Nguyen Thanh


Print Share Comment Cite Upload Translate Updates
APA

Duc Nguyen Thanh | Sciencx (2024-09-22T01:00:00+00:00) [ML.NET] Predicting the Future with ML.NET with examples. Retrieved from https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/

MLA
" » [ML.NET] Predicting the Future with ML.NET with examples." Duc Nguyen Thanh | Sciencx - Sunday September 22, 2024, https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/
HARVARD
Duc Nguyen Thanh | Sciencx Sunday September 22, 2024 » [ML.NET] Predicting the Future with ML.NET with examples., viewed ,<https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/>
VANCOUVER
Duc Nguyen Thanh | Sciencx - » [ML.NET] Predicting the Future with ML.NET with examples. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/
CHICAGO
" » [ML.NET] Predicting the Future with ML.NET with examples." Duc Nguyen Thanh | Sciencx - Accessed . https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/
IEEE
" » [ML.NET] Predicting the Future with ML.NET with examples." Duc Nguyen Thanh | Sciencx [Online]. Available: https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/. [Accessed: ]
rf:citation
» [ML.NET] Predicting the Future with ML.NET with examples | Duc Nguyen Thanh | Sciencx | https://www.scien.cx/2024/09/22/ml-net-predicting-the-future-with-ml-net-with-examples/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.