What is ensemble learning?

Sometimes, one machine learning model is not good enough for a certain scenario or use case as it might not give you the desired accuracy, recall, and precision. Hence, multiple learning models—or an ensemble of models captures the pattern of the data and gives better output.

As an example, let's say we are trying to decide on a place where we would like to go in the summer. Typically, if we are planning for a trip, the suggestions for the place pours in from all corners. That is, these suggestions might come from our family, websites, friends, and travel agencies, and then we have to decide on the basis of a good experience that we had in the past:

However, we have to accumulate all of the preceding inputs and make a decision since no source has been 100% correct so far. If we combine these results, the accuracy scenario will be as follows:

1 - (60% * 50% * 35% * 45%)                                                                                                                                                                              1- 0.04725 = 0.95275

# Accuracy is close to 95%.

From this, we are able to see the impact of ensemble modeling.