[
https://issues.apache.org/jira/browse/OAK-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042450#comment-16042450
]
Tommaso Teofili edited comment on OAK-6317 at 6/8/17 4:00 PM:
--------------------------------------------------------------
fixed in r1798035 (trunk), r1798083 (1.6), r1798084 (1.4), r1798085 (1.2).
was (Author: teofili):
fixed in r1798035 (trunk).
> LMSEstimator update amount depending on cost amount
> ---------------------------------------------------
>
> Key: OAK-6317
> URL: https://issues.apache.org/jira/browse/OAK-6317
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: solr
> Affects Versions: 1.6.1, 1.7.1, 1.4.16, 1.2.26
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 1.8
>
>
> {{LMSEstimator}} update rule implementation wrongly updates the weights
> taking the LMS cost value into account, this means that if the error is huge
> (and the cost quadratically grows with it) the weight could get an update
> value almost proportional to the LMS value (smoothed by learning rate alpha).
> The correct update rule should be used which only uses the residual.
> The side effect of this bug is that:
> * cost may vary a lot
> * weights could not converge to a good solution
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)