You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ikumasa Mukai (Commented) (JIRA)" <ji...@apache.org> on 2011/12/13 04:59:31 UTC

[jira] [Commented] (MAHOUT-926) Adding the Tree/Forest Visualizer

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

Ikumasa Mukai commented on MAHOUT-926:
--------------------------------------

We can get the result like this.

i. iris - classification
{noformat}petallength < 3.3 : Iris-setosa
petallength >= 3.3
|   petalwidth < 1.8
|   |   petallength < 5
|   |   |   petalwidth < 1.7 : Iris-versicolor
|   |   |   petalwidth >= 1.7 : Iris-virginica
|   |   petallength >= 5
|   |   |   petalwidth < 1.6 : Iris-virginica
|   |   |   petalwidth >= 1.6
|   |   |   |   sepallength < 7.2 : Iris-versicolor
|   |   |   |   sepallength >= 7.2 : Iris-virginica
|   petalwidth >= 1.8
|   |   petallength < 4.9
|   |   |   sepallength < 6 : Iris-versicolor
|   |   |   sepallength >= 6 : Iris-virginica
|   |   petallength >= 4.9 : Iris-virginica
{noformat} 

ii. cars - regression
{noformat}speed < 30
|   speed < 12
|   |   speed < 3 : 4
|   |   speed >= 3
|   |   |   speed < 7 : 7
|   |   |   speed >= 7 : 6.5
|   speed >= 12
|   |   speed < 23
|   |   |   speed < 21
|   |   |   |   speed < 19
|   |   |   |   |   speed < 15 : 12
|   |   |   |   |   speed >= 15
|   |   |   |   |   |   speed < 16.5 : 8
|   |   |   |   |   |   speed >= 16.5
|   |   |   |   |   |   |   speed < 17.5 : 11
|   |   |   |   |   |   |   speed >= 17.5 : 10
|   |   |   |   speed >= 19 : 13.5
|   |   |   speed >= 21 : 7
|   |   speed >= 23
|   |   |   speed < 27
|   |   |   |   speed < 25 : 12
|   |   |   |   speed >= 25 : 13
|   |   |   speed >= 27 : 11.5
speed >= 30
|   speed < 84.5
---snip---
{noformat}
                
> Adding the Tree/Forest Visualizer
> ---------------------------------
>
>                 Key: MAHOUT-926
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-926
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Classification
>            Reporter: Ikumasa Mukai
>              Labels: test
>
> TreePrinter and ForestPrinter are made for checking the model on MAHOUT-840.
> I think they are useful for checking the model and making unit testing.

--
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