title: how to use weight when training a weak learner for adaboost
body: <p>The following is adaboost algorithm:
  <img src="https://i.stack.imgur.com/7p2mE.png" alt="enter image description here"></p>
  
  <p>It mentions "using weights wi on the training data" at part 3.1. </p>
  
  <p>I am not very clear about how to use the weights. Should I resample the training data? </p>