Replaced 'for i' with 'for _' at place where i is not used.
fix pep8 for weighted_boosting.py