mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XiaoboGu" <guxiaobo1...@gmail.com>
Subject RE: How to get the predicted target lable using CrossFolderLearner?
Date Sun, 05 Jun 2011 05:39:01 GMT
classifyFull then vector maxIndex do the same thing, actually my question is :

How can I find the map between original target labels and the encoded target codes?


> -----Original Message-----
> From: Hector Yee [mailto:hector.yee@gmail.com]
> Sent: Sunday, June 05, 2011 12:40 AM
> To: dev@mahout.apache.org
> Cc: <user@mahout.apache.org>; <dev@mahout.apache.org>
> Subject: Re: How to get the predicted target lable using CrossFolderLearner?
> 
> 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