Adaptive boosting with dynamic weight adjustment