Skip to content

supporting n_obs x n_class target in logistic regression #4

@afshinrahimi

Description

@afshinrahimi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions