You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2010/10/19 18:26:46 UTC

[jira] Commented: (MAHOUT-526) Infinite Recursion in DefaultTreeBuilder

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

Deneche A. Hakim commented on MAHOUT-526:
-----------------------------------------

I was able to find the smallest subset of the dataset, that makes the Builder throw a StackOverflowError. It's the following four instances:

{noformat}0.25, 0.0, 0.0, 5.143998668220409E-4, 0.019847102289905324, 3.5216524641879855E-4, 0.0, 0.6225857142857143, 4
0.25, 0.0, 0.0, 0.0010504411519893459, 0.005462138323171171, 0.0026130744829756746, 0.0, 0.4964857142857143, 3
0.25, 0.0, 0.0, 0.0010504411519893459, 0.005462138323171171, 0.0026130744829756746, 0.0, 0.4964857142857143, 4
0.25, 0.0, 0.0, 5.143998668220409E-4, 0.019847102289905324, 3.5216524641879855E-4, 0.0, 0.6225857142857143, 3{noformat}

Now I will be able to debug and see what's causing this and how to prevent it.

> Infinite Recursion in DefaultTreeBuilder
> ----------------------------------------
>
>                 Key: MAHOUT-526
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-526
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>         Attachments: decision_tree_data
>
>
> In some cases, building a random forest with a dataset that contains many numerical attributes, the DefaultTreeBuilder enters in an infinite recursion and throws a StackOverflowError.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.