How is bagging different from boosting?
Answer / Ankit Singh Chauhan
Bagging (Bootstrap Aggregating) and Boosting are ensemble methods used to improve the performance of machine learning models by combining multiple models. However, they differ in their approach.nnBagging creates multiple subsets of the data by randomly sampling with replacement and trains a separate model on each subset. The final prediction is made by averaging (for regression) or voting (for classification) the predictions of individual models. This helps reduce variance but may increase bias.nBoosting, on the other hand, trains multiple weak models sequentially, where each new model focuses on correcting the mistakes made by the previous one. The final prediction is a weighted sum of the predictions from all models. Boosting reduces bias but can increase variance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain supervised learning?
What is the definition of the unit test?
How will you cut a circular cake into 8 equal pieces?
What is nosql? Name some examples of nosql databases. What is a key value store? What is column storage? What is a document database?
What is overfitting?
Explain the benefits of using statistics by data scientists
Will Uber cause city congestion?
What is the probability of pulling a different shape or a different colour card from a deck of 52 cards?
Describe some assumptions considered important for linear regression?
Print the elements of a matrix in zig-zag manner.
Which plot will you use to access the uncertainty of a statistic?
What do you understand by bias, variance trade-off?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)