fit method of LogisticRegression has a optional sample_weight parameter. I follow the python code and find it just does some trivial things and dispatches to underlying solvers (e.g. liblinear). How sample_weight works? does it work thought oversampling or some other method?
update
as @Alexander McFarlane said, it isn't immediately obvious that the sample weight in the decision tree is the same as the logistic regression unless you look at the source.