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'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?
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.
Activity
stropitek commentedon Jul 27, 2018
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 commentedon 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
mllibrary 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