- Hands-On Machine Learning with ML.NET
- Jarred Capellman
- 125字
- 2021-06-24 16:43:35
Evaluating a regression model
As discussed in previous chapters, evaluating a model is a critical part of the overall model building process. A poorly trained model will only provide inaccurate predictions. Fortunately, ML.NET provides many popular attributes to calculate model accuracy based on a test set at the time of training to give you an idea of how well your model will perform in a production environment.
In ML.NET, as noted earlier in the linear regression sample application, there are five properties that comprise the RegressionMetrics class object. These include the following:
- Loss function
- Mean absolute error
- Mean squared error
- R-squared
- Root mean squared error
In the next sections, we will break down how these values are calculated and ideal values to look for.
推薦閱讀
- Intel Galileo Essentials
- Learning Apex Programming
- 圖解Java數(shù)據(jù)結(jié)構(gòu)與算法(微課視頻版)
- 深入實踐Spring Boot
- C# 從入門到項目實踐(超值版)
- Apache Spark 2 for Beginners
- Learning Informatica PowerCenter 10.x(Second Edition)
- 實戰(zhàn)低代碼
- JavaScript by Example
- OpenStack Orchestration
- Android Game Programming by Example
- SQL Server on Linux
- C/C++代碼調(diào)試的藝術(shù)
- 菜鳥成長之路
- 虛擬現(xiàn)實:引領(lǐng)未來的人機交互革命