mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: How could I set a loss function in SGD?
Date Fri, 22 Apr 2011 04:47:50 GMT
On Thu, Apr 21, 2011 at 7:09 PM, Stanley Xu <wenhao.xu@gmail.com> wrote:

>
> The add weight you mean here is re-define a train method, add a weight
> parameter and adjust the learning rate of currentLearningRate() with this
> param. Not the weight parameter already exist in the features. Am I correct?
>

Yes.

But you raise a good point.  If you want to adjust the weight during
encoding that would have the same effect.  Make sure that you adjust all of
the encoding weights together.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message