mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanley Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-674) Let the TrainLogistic class could print the category feature weight probably
Date Mon, 18 Apr 2011 11:04:05 GMT
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

Mime
View raw message