[
https://issues.apache.org/jira/browse/HAMA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502461#comment-13502461
]
Hudson commented on HAMA-668:
-----------------------------
Integrated in Hama-Nightly #744 (See
[https://builds.apache.org/job/Hama-Nightly/744/])
[HAMA-668] - let LogisticRegressionModel use BigDecimals internally to
avoid number instabilities (Revision 1412031)
Result = SUCCESS
tommaso :
Files :
*
/hama/trunk/examples/src/test/java/org/apache/hama/examples/GradientDescentTest.java
*
/hama/trunk/examples/src/test/java/org/apache/hama/examples/LinearRegressionTest.java
*
/hama/trunk/examples/src/test/java/org/apache/hama/examples/LogisticRegressionTest.java
* /hama/trunk/examples/src/test/resources/gd_file_sample.txt
* /hama/trunk/examples/src/test/resources/linear_regression_sample.txt
* /hama/trunk/examples/src/test/resources/logistic_regression_sample.txt
*
/hama/trunk/ml/src/main/java/org/apache/hama/ml/regression/LogisticRegressionModel.java
*
/hama/trunk/ml/src/test/java/org/apache/hama/ml/regression/LogisticRegressionModelTest.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
> Assignee: Tommaso Teofili
> Fix For: 0.6.0
>
>
> 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