[
https://issues.apache.org/jira/browse/HAMA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496800#comment-13496800
]
Hudson commented on HAMA-668:
-----------------------------
Integrated in Hama-Nightly #736 (See
[https://builds.apache.org/job/Hama-Nightly/736/])
[HAMA-668] - added an assertion to check h to be within 0 and 1 (Revision
1408773)
Result = SUCCESS
tommaso :
Files :
*
/hama/trunk/ml/src/main/java/org/apache/hama/ml/regression/LogisticRegressionModel.java
> Fix possible number instabilities in LogisticRegression CF
> ----------------------------------------------------------
>
> Key: HAMA-668
> URL: https://issues.apache.org/jira/browse/HAMA-668
> Project: Hama
> Issue Type: Bug
> Components: machine learning
> Reporter: Tommaso Teofili
>
> In calculateCostForItem the log of several calculations may run in the
> special cases of the logarithm:
> * If the argument is NaN or less than zero, then the result is NaN.
> * If the argument is positive infinity, then the result is positive infinity.
> * If the argument is positive zero or negative zero, then the result is
> negative infinity.
> We should guard them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira