Understanding and analyzing the effectiveness of uncertainty sampling