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

Evaluating regression models 

Unlike the Naive Bayes classification model, the regression model provides a numerical output as a prediction. This output can be used for binary classification by predicting the value for both the events and using the maximum value. However, in examples such as predicting a house value based on regressors, we cannot use evaluation metrics that rely on just predicting whether we got the answer correct or incorrect. When we are predicting a numerical value, the evaluation metrics should also quantify the value of error in prediction. For example, if the house value is 600,000 and model A predicts it as 700,000 and model B predicts it as 1,000,000, metrics such as precision and recall will count both these predictions as false positives. However, for regression models, we need evaluation metrics that can tell us that model A was closer to the actual value than model B. Therefore, in this section, we will present three metrics that are used for such numerical predictions. 

主站蜘蛛池模板: 西宁市| 宣武区| 澄江县| 安庆市| 堆龙德庆县| 隆尧县| 博白县| 汾阳市| 仁怀市| 蛟河市| 远安县| 威宁| 梁平县| 旬邑县| 长治市| 昌邑市| 贵港市| 陇南市| 富阳市| 永胜县| 隆子县| 札达县| 搜索| 保德县| 顺义区| 景东| 个旧市| 丹江口市| 区。| 天祝| 贵州省| 文登市| 定兴县| 应用必备| 工布江达县| 塘沽区| 东乡族自治县| 循化| 沽源县| 古浪县| 九江县|