Package com.imsl.test.example.datamining
Class LogisticRegressionEx2
java.lang.Object
com.imsl.test.example.datamining.LogisticRegressionEx2
Trains a logistic regression model for a multinomial response.
This example performs logistic regression for a multinomial response variable with 4 classes. The categorical predictors and the response variable are encoded into dummy variables. Predictions and confidence intervals are obtained for a separate test data set. Note that the model fit is not significant suggesting that there is not a strong predictive relationship between the predictors and the response.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LogisticRegressionEx2
public LogisticRegressionEx2()
-
-
Method Details
-
main
- Throws:
Exception
-