Skip to content

Multiple logistic regression #107

Open

Description

@tommedema

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?

Activity

  1. stropitek commented on Jul 27, 2018

    @stropitek
    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

  2. tommedema commented on Jul 27, 2018

    @tommedema
    Author

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions