Fminlbfgs Details
From Ufldl
(Created page with "The function <tt>fminlbfgs</tt> gives a BSD license implementation of L-BFGS (so appropriate use of this in commercial applications is okay). Here, we describe some details. Yo...") |
|||
Line 21: | Line 21: | ||
<syntaxhighlight lang="matlab"> | <syntaxhighlight lang="matlab"> | ||
- | % Run | + | % Run fminlbfgs |
[opttheta, loss] = fminlbfgs( @(p) sparseAutoencoderLoss(p, ... | [opttheta, loss] = fminlbfgs( @(p) sparseAutoencoderLoss(p, ... | ||
visibleSize, hiddenSize, ... | visibleSize, hiddenSize, ... |