You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2015/09/11 06:08:46 UTC

[jira] [Resolved] (SINGA-60) Make learning rate and param init modular

     [ https://issues.apache.org/jira/browse/SINGA-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangwei resolved SINGA-60.
--------------------------
    Resolution: Fixed
      Assignee: wangwei

> Make learning rate and param init modular
> -----------------------------------------
>
>                 Key: SINGA-60
>                 URL: https://issues.apache.org/jira/browse/SINGA-60
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: wangwei
>            Assignee: wangwei
>
> The learning rate of SGD typically changes through time.
> There are many different ways to change the learning rate of SGD. SINGA has implemented a couple of changing methods. But users may want to implement their own changing method. To make this part modular, this ticket is going to create a base learning rate generator, e.g. called LRGen, which is declared like,
> {code}
> class LRGenerator {
>   public:
>     virtual float Get (int step) = 0;
>   protected:
>    LRProto proto_;
> };
> {code}
> Users can then inherit LRGenerator to implement the their own changing algorithm in the `Get(int step)`.
> Users can also add configurations for their generator by extending the base LRProto.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)