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

Calculating the Mean Squared Error (MSE)

MSE takes the average of the square of the difference between the actual values and predicted values:

No matter what evaluation method we choose, it is extremely important to take into account the business part of the problem. The optimal solution is not always to have the most accurate model, but the one that better satisfies your business needs. It may be the case that a not-so-accurate model that can be built quickly is better than a perfect one that takes a year to produce. Taking into account the dataset imbalance and business needs is important for fine-tuning the model in order to improve the confusion matrix values:

Another important factor to consider is whether we have, in the case of a classification problem, a balanced dataset. A dominant class will lead to a model that mostly predicts the same result every time. For example, a dataset with 99% YES labels will produce a machine learning model after training that predicts YES for 99% of the input (and it will be right!). There are many known techniques used to balance a dataset and find the problems in our data.

主站蜘蛛池模板: 布尔津县| 江北区| 读书| 道孚县| 吉木萨尔县| 虹口区| 黑山县| 富蕴县| 达州市| 衡山县| 清流县| 天镇县| 永兴县| 印江| 大竹县| 清苑县| 衡南县| 石柱| 泰安市| 丹寨县| 芮城县| 麻栗坡县| 鞍山市| 宣城市| 崇阳县| 文化| 平远县| 常宁市| 阜阳市| 依安县| 泌阳县| 天柱县| 广西| 静海县| 新晃| 德令哈市| 华亭县| 治多县| 清苑县| 湟中县| 财经|