Description Usage Arguments Examples
View source: R/multi-logistic-regression.r
a classification model genralizing logistic regression to accommodate more than two classes.
1 | multi_logistic_regression(X, Y, maxit = 10000, tol = 1e-20)
|
X |
data matrix |
Y |
Response vector |
maxit |
Default is 10000. The maximum number of iterations. |
tol |
Default is 1e-20. The minimum difference between the old beta and the update beta. |
1 2 3 4 | data("iris")
X = iris[,-5]
Y=iris$Species
multi_logistic_regression(X,Y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.