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

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.

主站蜘蛛池模板: 济阳县| 扎兰屯市| 瑞丽市| 富顺县| 甘洛县| 维西| 台北市| 鄱阳县| 柳江县| 六枝特区| 农安县| 大连市| 会泽县| 福泉市| 招远市| 台南市| 万载县| 民权县| 江都市| 佛山市| 洪江市| 洞口县| 耒阳市| 鄂州市| 筠连县| 滨州市| 赞皇县| 泗洪县| 闻喜县| 龙井市| 麻栗坡县| 原阳县| 禄劝| 宁海县| 阿瓦提县| 阿克苏市| 茌平县| 晴隆县| 明溪县| 离岛区| 鲁山县|