pgswartz

Results 3 comments of pgswartz

Changed my code a bit, based on errors, to: pa = Parameter.new pa.nr_weight = 2 pos_weight = 1 - clean_positive_train.size.to_f/(clean_positive_train.size.to_f + clean_negative_train.size.to_f) pa.weight_label = [positive_label,negative_label] pa.weight = [pos_weight, 1-pos_weight] Seems...

Sorry, I'm reopening. I'm using the above formulation, but even adjusting my weights in an exaggerated manner (i.e., assign positive weight = 10^-5 and negative_weight =1) does not fundamentally change...

Hi Tom, Thanks for the message. I'll keep investigating, will update this thread with my findings. Very much appreciate the cool gem you've made! Peter