mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hector Yee <hector....@gmail.com>
Subject Re: How to get the predicted target lable using CrossFolderLearner?
Date Sat, 04 Jun 2011 16:40:02 GMT
You can use classifyFull and then vector maxIndex

Sent from my iPad

On Jun 4, 2011, at 8:31 AM, "XiaoboGu" <guxiaobo1982@gmail.com> wrote:

> Hi,
>    When dealing with multinomial logistic regression with CrossFolderLearner, the Vector
classfy(Vector) method returns a vector of scores for all the target values, Max( scores.max,
1 - scores.zSum) will return the max socre, according to which we can determine the predicted
target value, which is encoded by the learner internally, but where is the map between original
target labels and the encoded codes?
> 
> Regards,
> 
> Xiaobo Gu
> 

Mime
View raw message