- 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.
推薦閱讀
- Practical Data Analysis Cookbook
- 零基礎搭建量化投資系統:以Python為工具
- JavaScript語言精髓與編程實踐(第3版)
- 精通Linux(第2版)
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- Babylon.js Essentials
- Raspberry Pi Robotic Blueprints
- Practical Microservices
- 物聯網系統架構設計與邊緣計算(原書第2版)
- Java Web開發基礎與案例教程
- JavaWeb從入門到精通(視頻實戰版)
- Microsoft XNA 4.0 Game Development Cookbook
- 系統分析師UML用例實戰
- Scratch編程入門與算法進階(第2版)
- IBM AIX 5L/v6系統管理指南