- 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.
推薦閱讀
- Android Wearable Programming
- Google Apps Script for Beginners
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- 騰訊iOS測試實踐
- Learning Selenium Testing Tools with Python
- Software Testing using Visual Studio 2012
- 精通軟件性能測試與LoadRunner實戰(zhàn)(第2版)
- C語言從入門到精通(第4版)
- Reactive Programming With Java 9
- Hands-On Functional Programming with TypeScript
- Hands-On Reinforcement Learning with Python
- Clojure Reactive Programming
- Linux:Embedded Development
- C# 8.0核心技術(shù)指南(原書第8版)
- 愛上micro:bit