weights option

I've added the ability to pass a weights option like so:
(train (map :data data) (map :target data) :weights [[0.03 0.97][1,0]])

Tests have also been added