- Python Machine Learning By Example
- Yuxi (Hayden) Liu
- 109字
- 2021-07-02 22:57:20
Voting and averaging
We can arrive at our final answer through majority voting or averaging. It's also possible to assign different weights to each model in the ensemble. For averaging, we can also use the geometric mean or the harmonic mean instead of the arithmetic mean. Usually combining the results of models, which are highly correlated to each other doesn't lead to spectacular improvements. It's better to somehow diversify the models, by using different features or different algorithms. If we find that two models are strongly correlated, we may, for example, decide to remove one of them from the ensemble, and increase the weight of the other model proportionally.
推薦閱讀
- Reporting with Visual Studio and Crystal Reports
- Oracle 11g從入門到精通(第2版) (軟件開發(fā)視頻大講堂)
- Mastering JBoss Enterprise Application Platform 7
- Oracle從入門到精通(第5版)
- R語言數(shù)據(jù)可視化:科技圖表繪制
- 零基礎(chǔ)學(xué)Python編程(少兒趣味版)
- Data Manipulation with R(Second Edition)
- HTML5/CSS3/JavaScript技術(shù)大全
- 微服務(wù)設(shè)計
- Building E-Commerce Solutions with WooCommerce(Second Edition)
- TensorFlow程序設(shè)計
- ROS Robotics Projects
- 零基礎(chǔ)學(xué)C++
- Developing Multi:Platform Apps with Visual Studio Code
- Visual FoxPro程序設(shè)計教程