GradientDescent: Gradient Descent Script

Description Usage Arguments Value

View source: R/GradientDescent.R

Description

Function that takes the number of enzymes allowed to vary, initial guess for the concentration of each of the enzymes (inputted as a vector), number of steps to be performed, and the multiple used to determine the step size of gradient descent. Recommended that the multiple be below 1, however the algorithm will adjust the step size after each iteration.

Usage

1
2
3
4
5
6
7
GradientDescent(
  NumberOfEnzymes,
  InitialGuess,
  NumberOfSteps,
  GDdtMultiple,
  GDdtCutoff
)

Arguments

NumberOfEnzymes

the integer number of enzymes used in the pathway

InitialGuess

a vector of inital guess values

NumberOfSteps

an integer

GDdtMultiple

a float number

Value

a vector and the number of steps to get there


genehackers/optizyme documentation built on Oct. 24, 2020, 9 a.m.