gradientDecent: gradientDecent

Description Usage Arguments Value

View source: R/utils.R

Description

gradientDecent

Usage

1
gradientDecent(X.mat, y.vec, step.size, max.iterations)

Arguments

X.mat

scaled matrix of features

y.vec

labels to X.mat

step.size

the step size for the gradient decent

max.iterations

the max number of iterations to perform the decent

Value

a matrix of weights for each iteration [ncol(X.mat) : max.iterations]


ChaddFrasier/planetLearn documentation built on July 5, 2020, 2:32 a.m.