[mlpack-git] [mlpack] Fix drop out layer (#463)

stereomatchingkiss notifications at github.com
Fri Oct 23 00:20:08 EDT 2015

Maybe we can set scale when the ratio is changed, but current api cannot do that. Something as following

    void SetRatio(double ratioValue)
        ratio = ratioValue;
        scale = 1.0 / (1.0 - ratio);

I think I would setup the value of scale as you suggested and specify the range of the ratio on the comments

    param ratio The ratio of the drop out(ratio > 0 && ratio < 1), by default it is 0.5

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20151022/324cdf64/attachment.html>

More information about the mlpack-git mailing list