Class LogisticProblem


  • public class LogisticProblem
    extends LMProblem
    A logistic regression problem is a variation of the OLS regression problem. It is used when the dependent (response) variable is a binary variable. The independent (input) variables can be continuous, categorical, or both.
    • Constructor Detail

      • LogisticProblem

        public LogisticProblem​(LMProblem problem)
        Constructs a logistic regression problem from a linear regression problem.
        Parameters:
        problem - a logistic regression problem
    • Method Detail

      • checkInputs

        protected void checkInputs()
        Description copied from class: LMProblem
        Checks whether this LMProblem instance is valid.
        Overrides:
        checkInputs in class LMProblem