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

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.

主站蜘蛛池模板: 四子王旗| 阜阳市| 子洲县| 九台市| 贡嘎县| 清远市| 鄂温| 图片| 宝坻区| 呼图壁县| 太保市| 易门县| 青海省| 宁陕县| 雅江县| 寿宁县| 揭阳市| 台东市| 陕西省| 美姑县| 辉南县| 平果县| 邵阳市| 额尔古纳市| 临安市| 普安县| 辽宁省| 钦州市| 抚松县| 岱山县| 黄平县| 蓬安县| 泰宁县| 四川省| 石景山区| 平潭县| 福贡县| 朝阳区| 铁岭县| 泽州县| 民勤县|