Skip to contents

Fit Models

Functions for fitting regression models.

fit_logistic()
fit a logistic regression model
fit_logistic_ridge()
fit a regularized logistic regression model (ridge penalty)
fit_logistic_selo()
fit a regularized logistic regression model (SELO penalty)

Initializers

Initializer functions.

initialize_constant()
contant initializer
initialize_glorot_normal()
Glorot/Xavier normal initializer

Losses

Loss functions.

crossentropy()
binary cross entropy

Evaluate Models

Functions for evaluating models.

plot_error()
plot errors
plot_coef()
plot estimated coefficients
predict(<logreg>)
make predictions from a fitted model
auc()
compute auc