Sets weight (multiplicative constant) that linearly stretch individual axis of the feature space
obj.setWeight(idx, value)