sam wu created MAHOUT-1378:
------------------------------
Summary: 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
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)