Let the TrainLogistic class could print the category feature weight probably
----------------------------------------------------------------------------

                 Key: MAHOUT-674
                 URL: https://issues.apache.org/jira/browse/MAHOUT-674
             Project: Mahout
          Issue Type: Improvement
          Components: Examples
    Affects Versions: 0.4, 0.5
         Environment: Mac OS X 10.6.7
            Reporter: Stanley Xu
            Priority: Trivial
             Fix For: 0.5


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to