softmaxreg: Softmax regression with gradient descent

Description Usage Arguments

View source: R/softmaxreg.R

Description

Fits softmax regression using gradient descent, by maximizing log-likelihood

Usage

1
softmaxreg(X, y, lrate = 0.01, maxiter = 10000, tol = 1e-05)

Arguments

X

the design matrix

y

the response variable

lrate

the learning rate

maxiter

the maximum iteration number

tol

the numerical tolerance


damingli09/bis557 documentation built on Nov. 21, 2020, 9:11 a.m.