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: ; > 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" 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 > >