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

Lance Norskog commented on MAHOUT-840:
--------------------------------------

A couple of points:
# (int) on a double means Math.floor(double). Would it make more sense to round 
up or down?
# Leaf.hashCode() needs a matching equals(). 
** The equals() should compare with an epsilon.
** clamping to (int) is probably not a very good hash function :)

Please add both a unit test and an example.
                
> Decision Forests should support Regression problems
> ---------------------------------------------------
>
>                 Key: MAHOUT-840
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-840
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Classification
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>         Attachments: regression.patch
>
>
> Improve Decision Forest code in order to handle numerical targets, thus 
> supporting regression problems

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to