liblinear icon indicating copy to clipboard operation
liblinear copied to clipboard

coefficients larger than 1

Open naarkhoo opened this issue 8 years ago • 4 comments

I wonder, if coefficients can be larger than 1 even on the normalized data ? I am bench making liblinear with glmnet, and I see one of the coefficients is larger than one.

Thanks.

naarkhoo avatar May 13 '16 09:05 naarkhoo

Do you mean the weight vector? If so, yes they can be larger than 1 naarkhoo writes:

I wonder, if coefficients can be larger than 1 even on the normalized data ? I am bench making liblinear with glmnet, and I see one of the coefficients is larger than one.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub*

cjlin1 avatar May 26 '16 22:05 cjlin1

Thanks for your answer. I have another issue, the glmnet solution is sparser than LIBLINEAR solution - I wonder if there could be any explanation ? :-) - thanks.

naarkhoo avatar Jun 10 '16 22:06 naarkhoo

If the same loss and the same parameters are used, I think they should give the same sparsity naarkhoo writes:

Thanks for your answer. I have another issue, the glmnet solution is sparser than LIBLINEAR solution - I wonder if there could be any explanation ? :-) - thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.*

cjlin1 avatar Aug 03 '16 22:08 cjlin1

This issue was moved to angleto/liblinear#14

simsong avatar Jan 22 '18 23:01 simsong