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

sam wu commented on MAHOUT-1378:
--------------------------------

you are right, old test didn't detect the problem, I just attach the new
test java file to JIRA







> Running Random Forest with Ignored features fails when loading feature 
> descriptor from JSON file
> ------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1378
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1378
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification
>    Affects Versions: 0.8
>         Environment: generic
>            Reporter: sam wu
>             Fix For: 0.9
>
>         Attachments: DatasetIgnoreFeatureTest.java, rf-ignore-f-JSON.patch
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> Running Random Forest with Ignored features fails when loading feature 
> descriptor from JSON file.
> in Dataset.java , fromJSON(String json) function
> line 400
> original: ------  nominalValues[i] = array; 
> should be change to 
>  nominalValues[i - ignored.size()] = array;
> // put array in ignore-feature filtered index



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to