官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 谢通门县| 克东县| 武山县| 缙云县| 安康市| 定兴县| 都兰县| 新竹市| 肇州县| 舟山市| 南汇区| 外汇| 江阴市| 来安县| 瓦房店市| 广灵县| 平顺县| 临泽县| 兴仁县| 汝南县| 郓城县| 金川县| 资源县| 长泰县| 扎鲁特旗| 图木舒克市| 海城市| 通江县| 菏泽市| 新乐市| 仁化县| 张家口市| 南乐县| 西盟| 丰城市| 韩城市| 安乡县| 宁晋县| 灵川县| 北川| 繁昌县|