cjlin1 / liblinear

LIBLINEAR -- A Library for Large Linear Classification
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
BSD 3-Clause "New" or "Revised" License
1.01k stars 342 forks source link

The starter value of C in best C search for liblinear #42

Open RicardoLeeV5 opened 6 years ago

RicardoLeeV5 commented 6 years ago

Dear Professor:

Recently I noticed that in your auto C search code, you set the min_C with:

1.0 / (matrix.length * max([Σ (line's value) ^ 2 for line in matrix]))

Could you explain why set starter C with this value? Is there any mathematical reason behind this value? I didn't find any explanation in your https://www.csie.ntu.edu.tw/~cjlin/papers/liblinear.pdf

Regards

cjlin1 commented 6 years ago

Please see http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/warm-start/warm-start.pdf

RicardoLeeV5 writes:

Dear Professor:

Recently I noticed that in your auto C search code, you set the min_C with:

1.0 / (matrix.length * max([Σ (line's value) ^ 2 for line in matrix]))

Could you explain why set starter C with this value? Is there any mathematical reason behind this value? I didn't find any explanation in your https://www.csie.ntu.edu.tw/~cjlin/papers/liblinear.pdf

Regards

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