Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adam ¶
Adam implements the Adam gradient descent optimization method.
func (*Adam) Delta ¶
Delta returns the difference between the current params and where the method wants it to be.
func (*Adam) IncExample ¶
func (o *Adam) IncExample()
IncExample beats the occurrence of a new example.
type Config ¶
type Config struct { gd.MethodConfig StepSize mat.Float Beta1 mat.Float Beta2 mat.Float Epsilon mat.Float }
Config provides configuration settings for an Adam optimizer.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig returns a new Config with generically reasonable default values.
Click to show internal directories.
Click to hide internal directories.