ScienceCowboy Posted April 22, 2019 Posted April 22, 2019 Dear all, In machine learning library scikit-learn of python, the logestic regression function has an argument "class_weight". When you set a higher class weight to a class during fitting the logestic model, you will get higher predictive accuracy of this class. I wish to know what is mathematical principal of setting class_weight. Is it related to modify the target function of logestic regression (https://drive.google.com/open?id=16TKZFCwkMXRKx_fMnn3d1rvBWwsLbgAU) ? Thank you in advance.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now