BUG: fix sample_weights in ridge