You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "sam wu (JIRA)" <ji...@apache.org> on 2013/12/15 07:37:06 UTC

[jira] [Updated] (MAHOUT-1378) Running Random Forest with Ignored features fails when loading feature descriptor from JSON file

     [ https://issues.apache.org/jira/browse/MAHOUT-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sam wu updated MAHOUT-1378:
---------------------------

    Status: Patch Available  (was: Open)

fix ignore feature problem

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