SGDOptimizer

Undocumented in source.

Constructors

this
this(ulong epochs, ulong mini_batch_sz_, float lr_)
Undocumented in source.

Members

Functions

current_lr
float current_lr(size_t k, size_t j)
Undocumented in source.
dup
Optimizer dup()
Undocumented in source.
learn
void learn(NeuralNet nn, D data, S delegate(R net_out, ref T ex, ref V[] grad) grad_f, bool verbose, uint num_cores)
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register(NeuralLayer layer)
Undocumented in source.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(NeuralLayer layer, float[] ext_grad)
Undocumented in source.
update
void update(NeuralLayer layer, SparseF[] ext_grad)
Undocumented in source.

Variables

cnt
ulong cnt;
Undocumented in source.
lr
float lr;
Undocumented in source.
mini_batch_sz
ulong mini_batch_sz;
Undocumented in source.
num_epochs
ulong num_epochs;
Undocumented in source.
priors
AdditiveLinearPrior[] priors;
Undocumented in source.
prox
ProxyLinearPrior prox;
Undocumented in source.

Inherited Members

From Optimizer

register
void register(NeuralLayer layer)
Undocumented in source.
update
void update(NeuralLayer layer, float[] ext_grad)
Undocumented in source.
update
void update(NeuralLayer layer, SparseF[] ext_grad)
Undocumented in source.
dup
Optimizer dup()
Undocumented in source.

Meta