pydbm.optimization.optparams package

Submodules

pydbm.optimization.optparams.adam module

class pydbm.optimization.optparams.adam.Adam

Bases: pydbm.optimization.opt_params.OptParams

Adam.

optimize()

Return of result from this optimization function.

Override.

Parameters:
  • params_dictlist of parameters.
  • grads_listlist of gradation.
  • learning_rate – Learning rate.
Returns:

list of optimized parameters.

pydbm.optimization.optparams.sgd module

class pydbm.optimization.optparams.sgd.SGD

Bases: pydbm.optimization.opt_params.OptParams

Stochastic Gradient Descent.

optimize()

Return of result from this optimization function.

Override.

Parameters:
  • params_dictlist of parameters.
  • grads_listlist of gradation.
  • learning_rate – Learning rate.
Returns:

list of optimized parameters.

Module contents