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

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.

主站蜘蛛池模板: 基隆市| 志丹县| 霍州市| 中牟县| 东源县| 珠海市| 准格尔旗| 合江县| 新丰县| 洮南市| 虞城县| 成都市| 阜平县| 荔浦县| 巴林左旗| 彭水| 贵定县| 溧阳市| 兴义市| 青州市| 左云县| 莱阳市| 昭平县| 射洪县| 霸州市| 临洮县| 兴国县| 榆中县| 巴彦淖尔市| 靖边县| 江华| 乌拉特后旗| 淄博市| 齐河县| 中宁县| 滦南县| 绩溪县| 林周县| 旅游| 麦盖提县| 曲松县|