Use of majority votes in statistical learning