Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple logistic regression #107

Open
tommedema opened this issue Jul 27, 2018 · 2 comments
Open

Multiple logistic regression #107

tommedema opened this issue Jul 27, 2018 · 2 comments

Comments

@tommedema
Copy link

Really liking this library; thanks!

I'm looking to do multiple logistic regression, where my single dependent variable has a binary outcome: 0 or 1, with multiple explanatory variables (floating numbers).

Is there a mljs library that I can use to accomplish this?

@stropitek
Copy link
Member

Hello @tommedema

If your outcome is categorical then you want to look for "classification" algorithm, not "regression".

Do you already know the outcome of you samples? If yes the keyword is "supervised classification". If not "unsupervised classification"

Have a look at the "Supervised learning" and "Unsupervised learning" sections in the ML readme. Some of them are only for regression problems so not a fit for you.

Hope that helps

@tommedema
Copy link
Author

tommedema commented Jul 27, 2018

@stropitek thanks. The items under "supervised classification" are mostly new concepts to me.

I'm used to doing binomial logistic regression, see https://statistics.laerd.com/spss-tutorials/binomial-logistic-regression-using-spss-statistics.php

From your answer it seems lke the ml library does not support this exact need?

Here is an example implementation of what I am looking for, though that library does not seem to be maintained anymore: https://github.com/jsmlt/jsmlt/blob/master/src/supervised/linear/logistic-regression.js#L18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants