Adaboost


Work with your assigned partner to write a Python script to fit a decision tree, a Random Forest classifier, an Adaboost classifer based on "decision stumps", and Adaboost classifier with a different base learner.


Fit those three models on both the raisin data set and the spam email data set. Answer the following questions:

  1. What is the F1 score for all models on each data set?
  2. Which model worked better and by how much?
  3. Which hyperparameter settings worked best for each model?



This page was last modified on 2026-08-19 at 20:15:10.

Copyright © 2018–2026 George Fox University. All rights reserved.