How to get intermediate alpha(a) when solving dual logistic regression
Hi there, I am wondering how I can get the intermediate alpha(a) when solving dual logistic regression, with L2 regularizer for example.

I am using Python interface but it seems the output model doesn't contain alpha information anymore. Really appreciate any kind of help here.
Yes the reason is the only the final model w vector is needed. I think you can print it if needed
On 2019-03-16 07:58, Hardy wrote:
Hi there, I am wondering how I can get the intermediate alpha(a) when solving dual logistic regression, with L2 regularizer for example.
[1]
I am using Python interface but it seems the output model doesn't contain alpha information anymore. Really appreciate any kind of help here.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [2], or mute the thread [3]. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cjlin1/liblinear/issues/50", "url": "https://github.com/cjlin1/liblinear/issues/50", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://user-images.githubusercontent.com/8280272/54477025-ae3e4700-483e-11e9-89ff-5a88a86aeff5.png [2] https://github.com/cjlin1/liblinear/issues/50 [3] https://github.com/notifications/unsubscribe-auth/AFGwnr_b-e8_SHlu41G1XheJmNviVrkbks5vXQapgaJpZM4b32PR
Thank you for your prompt response. Then I will check if any parameter can be passed to print alpha or I need to build from modified source codes.
Yes the reason is the only the final model w vector is needed. I think you can print it if needed … On 2019-03-16 07:58, Hardy wrote: Hi there, I am wondering how I can get the intermediate alpha(a) when solving dual logistic regression, with L2 regularizer for example. [1] I am using Python interface but it seems the output model doesn't contain alpha information anymore. Really appreciate any kind of help here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [2], or mute the thread [3]. [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "#50", "url": "#50", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ] Links: ------ [1] https://user-images.githubusercontent.com/8280272/54477025-ae3e4700-483e-11e9-89ff-5a88a86aeff5.png [2] #50 [3] https://github.com/notifications/unsubscribe-auth/AFGwnr_b-e8_SHlu41G1XheJmNviVrkbks5vXQapgaJpZM4b32PR
Hey @Ouimoi did you manage to print the alphas? Or could @cjlin1 point me to where I should modify the code to do so?
Hey @Ouimoi did you manage to print the alphas? Or could @cjlin1 point me to where I should modify the code to do so?
You can find them in linear.cpp and write them to disk.