Package com.imsl.test.example.datamining
Class LogisticRegressionEx1
java.lang.Object
com.imsl.test.example.datamining.LogisticRegressionEx1
Trains a logistic regression model for a binomial response variable.
This example models the number of deaths (y1) out of a number of beetles (freqs) exposed to a chemical at a given dosage (x1). It then predicts the number of deaths out of a number of beetles (freqs2) exposed to new dosages (x2) using the fitted model.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LogisticRegressionEx1
public LogisticRegressionEx1()
-
-
Method Details
-
main
- Throws:
Exception
-