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

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.

主站蜘蛛池模板: 辽中县| 建平县| 沁水县| 崇左市| 苗栗市| 韩城市| 乐山市| 河东区| 福贡县| 黔江区| 洞头县| 二手房| 盈江县| 磐石市| 隆子县| 高邮市| 庄河市| 永康市| 中山市| 皋兰县| 湖州市| 应用必备| 积石山| 常熟市| 蓝山县| 澄江县| 彭阳县| 福州市| 龙州县| 贵阳市| 湟中县| 酒泉市| 朔州市| 杭锦后旗| 农安县| 香河县| 舟山市| 阳东县| 五莲县| 江西省| 时尚|