Description Usage Arguments Value Examples
Given a matrix X of explanatory variables, a response y numeric variable, this function fits either a 'binomial' or 'multinomial' logistic regression model and returns a class object similar to sci-kit learn's object
1 | arid_logreg(X, y, regularization = NULL, lambda = NULL)
|
X |
(data frame): the explanatory variables matrix |
y |
(numeric): the response variable numeric vector |
regularization |
(character): what level of regularization to use in the model (default NULL) |
lambda |
(double): the regularization strength parameter to use (default: NULL) |
arid_logreg: a class object after fitting a 'binomial' or 'multinomial' logistic regression model
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.