Re: Interpreting MLLib's linear regression o/p

2014-12-23 Thread Sean Owen
x 1/ F1 or does > or correspond to index 2/F2? Since Input is 1-based and o/p is 0-based. Or > is 0-based indexing is only for internal representation and what you get > back at the end of regression is essentially 1-based indexed like your input > so 0.11 maps onto from F1and so on? &g

RE: Interpreting MLLib's linear regression o/p

2014-12-22 Thread Sameer Tilak
r internal representation and what you get back at the end of regression is essentially 1-based indexed like your input so 0.11 maps onto from F1and so on? > Date: Mon, 22 Dec 2014 16:31:57 -0800 > Subject: Re: Interpreting MLLib's linear regression o/p > From: men...@gmail.com > To:

Re: Interpreting MLLib's linear regression o/p

2014-12-22 Thread Xiangrui Meng
Did you check the indices in the LIBSVM data and the master file? Do they match? -Xiangrui On Sat, Dec 20, 2014 at 8:13 AM, Sameer Tilak wrote: > Hi All, > I use LIBSVM format to specify my input feature vector, which used 1-based > index. When I run regression the o/p is 0-indexed based. I have

Interpreting MLLib's linear regression o/p

2014-12-20 Thread Sameer Tilak
Hi All,I use LIBSVM format to specify my input feature vector, which used 1-based index. When I run regression the o/p is 0-indexed based. I have a master lookup file that maps back these indices to what they stand or. However, I need to add offset of 2 and not 1 to the regression outcome during