- 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.
推薦閱讀
- Learning NServiceBus(Second Edition)
- Learning Apex Programming
- R語(yǔ)言經(jīng)典實(shí)例(原書(shū)第2版)
- Mastering ServiceStack
- Getting started with Google Guava
- Android開(kāi)發(fā)精要
- Photoshop智能手機(jī)APP UI設(shè)計(jì)之道
- Python從小白到大牛
- Learning RxJava
- Julia Cookbook
- Create React App 2 Quick Start Guide
- App Inventor創(chuàng)意趣味編程進(jìn)階
- 邊玩邊學(xué)Scratch3.0少兒趣味編程
- Clojure High Performance Programming(Second Edition)
- Test-Driven iOS Development with Swift