C# Класс numl.Math.Optimization.Optimizer

Optimizer.
Показать файл Открыть проект

Открытые методы

Метод Описание
Optimizer ( Vector theta, int maxIterations, double learningRate = 1.0, double momentum = 0.9, OptimizationMethods optimizationMethod = OptimizationMethods.StochasticGradientDescent, OptimizationMethod optimizer = null ) : System

Initializes a new Optimizer using the default values. Theta to optimize. Maximum number of iterations. Learning Rate (alpha) (Optional). Momentum parameter for use in accelerated methods (Optional). Type of optimization method to use (Optional). An external typed optimization method to use (Optional).

Run ( ) : void

Runs the optimization routine for the set number of iterations.

RunAsync ( ) : System.Threading.Tasks.Task

Runs the optimization routine for the set number of iterations.

Step ( ) : void

Performs a single step of the optimization routine.

Описание методов

Optimizer() публичный Метод

Initializes a new Optimizer using the default values. Theta to optimize. Maximum number of iterations. Learning Rate (alpha) (Optional). Momentum parameter for use in accelerated methods (Optional). Type of optimization method to use (Optional). An external typed optimization method to use (Optional).
public Optimizer ( Vector theta, int maxIterations, double learningRate = 1.0, double momentum = 0.9, OptimizationMethods optimizationMethod = OptimizationMethods.StochasticGradientDescent, OptimizationMethod optimizer = null ) : System
theta numl.Math.LinearAlgebra.Vector
maxIterations int
learningRate double
momentum double
optimizationMethod OptimizationMethods
optimizer numl.Math.Optimization.Methods.OptimizationMethod
Результат System

Run() публичный Метод

Runs the optimization routine for the set number of iterations.
public Run ( ) : void
Результат void

RunAsync() публичный Метод

Runs the optimization routine for the set number of iterations.
public RunAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

Step() публичный Метод

Performs a single step of the optimization routine.
public Step ( ) : void
Результат void