[ 
https://issues.apache.org/jira/browse/HAMA-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790376#comment-13790376
 ] 

Tommaso Teofili commented on HAMA-809:
--------------------------------------

here's a draft patch 
https://github.com/tteofili/hama/compare/apache:trunk...hama-809.patch

> Underflow in LogisticRegressionModel
> ------------------------------------
>
>                 Key: HAMA-809
>                 URL: https://issues.apache.org/jira/browse/HAMA-809
>             Project: Hama
>          Issue Type: Bug
>          Components: machine learning
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>
> There's an underflow bug in _LogisticRegressionModel_ when calculating the 
> hypothesis output due to _double_ limitations.
> Therefore we should leverage _BigDecimal_s for such operations as they allow 
> for more precise calculation.
> Also the log algorithm in LRM is wrong and needs to be fixed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to