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

Let the TrainLogistic class could print the category feature weight probably

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.4, 0.5
    • 0.5
    • classic
    • Mac OS X 10.6.7

    Description

      In the example of trainlogistic, if we add a category feature. It will throw a NullPointerException while printing out the model.

      The root cause is for category feature, the code try to use the feature name as the predictor rather than feature=value as the predictor while get the weight from the trained LR model.

      Attachments

        1. trainlogsiticexample.diff
          0.8 kB
          Stanley Xu

        Activity

          People

            srowen Sean R. Owen
            xuwenhao Stanley Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified