bear

Results 2 issues of bear

i don't understand why we need minus w_y_i (or x_i) in the end of the formula. silly question------

if random ratio is 1, random.randint(0,0) will cause error.