Show / Hide Table of Contents

Class BaseOptimizer

Inheritance
System.Object
BaseOptimizer
Adadelta
Adagrad
Adam
Adamax
RMSProp
SGD
Namespace: SiaNet.Optimizers
Assembly: SiaNet.dll
Syntax
public abstract class BaseOptimizer

Constructors

| Improve this Doc View Source

BaseOptimizer(Single, String)

Initializes a new instance of the BaseOptimizer class.

Declaration
public BaseOptimizer(float lr, string name)
Parameters
Type Name Description
System.Single lr

The lr.

System.String name

The name.

Properties

| Improve this Doc View Source

DecayRate

Learning rate decay over each update.

Declaration
public float DecayRate { get; set; }
Property Value
Type Description
System.Single

The decay rate.

| Improve this Doc View Source

LearningRate

Gets or sets the learning rate for the optimizer.

Declaration
public float LearningRate { get; set; }
Property Value
Type Description
System.Single

The learning rate.

| Improve this Doc View Source

Momentum

Parameter that accelerates SGD in the relevant direction and dampens oscillations.

Declaration
public float Momentum { get; set; }
Property Value
Type Description
System.Single

The momentum.

| Improve this Doc View Source

Name

Gets or sets the name of the optimizer function

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX