You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just using the code to do a regularized multinomial logistic regression where each instance's label is a probability distribution over all labels and the design matrix X is sparse.
I found that it is not supported yet as _check_y throws an exception if y's dimension is not eq 1.
It would be great if it is implemented because currently no other library (that I know of) supports that and really need this feature. If you don't have enough time for that would you please guide me what is the best way to start implementing that in the code?
Thanks.
The text was updated successfully, but these errors were encountered:
On the face of it, I'm not sure what it would take. The library depends on
the FORTRAN code of hastie et.al. I have no ability to modify that FORTAN
code (it's a nightmare, and was seemingly written to make sure no one can
understand it). The python-glmnet library simply hooks into the FORTAN
code from python code. So, I would investigate two things:
Does the FORTRAN code support a multinomial distribution?
If so, can you call it with a discrete distribution as arguments?
You should be able to answer these questions by reading the comments in the
FORTRAN. If the answer's are yes, then it should be possible to wrap the
multinomial calls in python.
On Sun, May 15, 2016 at 5:50 PM, afshinrahimi [email protected]
wrote:
Hi,
I was just using the code to do a regularized multinomial logistic
regression where each instance's label is a probability distribution over
all labels.
I found that it is not supported yet as _check_y throws an exception if
y's dimension is not eq 1.
It would be great if it is implemented because currently no other library
(that I know of) supports that and really need this feature. If you don't
have enough time for that would you please guide for me what is the best
way to start implementing that in the code?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #4
Hi,
I was just using the code to do a regularized multinomial logistic regression where each instance's label is a probability distribution over all labels and the design matrix X is sparse.
I found that it is not supported yet as _check_y throws an exception if y's dimension is not eq 1.
It would be great if it is implemented because currently no other library (that I know of) supports that and really need this feature. If you don't have enough time for that would you please guide me what is the best way to start implementing that in the code?
Thanks.
The text was updated successfully, but these errors were encountered: