Class LogisticProblem
- java.lang.Object
-
- dev.nm.stat.regression.linear.LMProblem
-
- dev.nm.stat.regression.linear.logistic.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 Summary
Constructors Constructor Description LogisticProblem(LMProblem problem)
Constructs a logistic regression problem from a linear regression problem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkInputs()
Checks whether thisLMProblem
instance is valid.
-
-
-
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 thisLMProblem
instance is valid.- Overrides:
checkInputs
in classLMProblem
-
-