Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1378

Running Random Forest with Ignored features fails when loading feature descriptor from JSON file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Classification
    • Labels:
      None
    • Environment:

      generic

      Description

      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

        Attachments

        1. rf-ignore-f-JSON.patch
          0.6 kB
          sam wu
        2. DatasetIgnoreFeatureTest.java
          2 kB
          sam wu

          Activity

            People

            • Assignee:
              smarthi Suneel Marthi
              Reporter:
              swu5530@gmail.com sam wu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 672h
                672h
                Remaining:
                Remaining Estimate - 672h
                672h
                Logged:
                Time Spent - Not Specified
                Not Specified