Re: mLIb solving linear regression with sparse inputs

2018-11-05 Thread Robineast
Well I did eventually write this code in Java, and it was very long! see https://github.com/insidedctm/sparse-linear-regression - Robin East Spark GraphX in Action Michael Malak and Robin East Manning Publications Co. http://www.

Re: mLIb solving linear regression with sparse inputs

2016-11-06 Thread im281
added to the discussion below: http://apache-spark-user-list.1001560.n3.nabble.com/mLIb-solving-linear-regression-with-sparse-inputs-tp28006p28008.html To start a new topic under Apache Spark User List, email [hidden email] <http:///user/SendEmail.jtp?type=node&node=28027&i=1> To uns

Re: mLIb solving linear regression with sparse inputs

2016-11-06 Thread im281
,.42 > 2,0,.23 > 3,0,.42 > 3,1,.98 > 3,2,.88 > 4,0,.23 > 4,1,.36 > 4,2,.97 > > Sparse vector b > row, column, value > 0,2,.89 > 1,2,.42 > 3,2,.88 > 4,2,.97 > > Solve Ax = b??? > > > > -- > If you reply to this email, yo

Re: mLIb solving linear regression with sparse inputs

2016-11-06 Thread im281
this email, your message will be added to the discussion below: http://apache-spark-user-list.1001560.n3.nabble.com/mLIb-solving-linear-regression-with-sparse-inputs-tp28006p28027.html To unsubscribe from mLIb solving linear regressi

Re: mLIb solving linear regression with sparse inputs

2016-11-06 Thread Robineast
89 > 1,2,.42 > 3,2,.88 > 4,2,.97 > > Solve Ax = b??? > > > > If you reply to this email, your message will be added to the discussion > below: > http://apache-spark-user-list.1001560.n3.nabble.com/mLIb-solving-linear-regression-with-sparse-inputs-tp28006p2800

Re: mLIb solving linear regression with sparse inputs

2016-11-03 Thread Robineast
stem.out.println(matA.transpose().toLocalMatrix().toString()); > > //print out the square matrix (after multiplication) > System.out.println(ata.toLocalMatrix().toString()); > > JavaRDD entries = > ata.toCoordinateMatrix().entries(