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