开发者

Can one inspect the weights learned by a logistic regression classifier in weka?

I'm training Weka's logistic regress开发者_开发知识库ion classifier and I'm trying to figure out what is going on under the hood. I know that I can use the classifier to look at the confidence distribution per instance using the logistic.distributionForInstance method but is there a way that I can look at the feature weights learned by the classifier?

thanks


Yes you can get the weights as a 2D array of doubles with the coefficients method. The first index is for the attributes and the second index is for the classes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜