Re: printing mllib.linalg.vector

2014-12-15 Thread Xiangrui Meng
you can use the default toString method to get the string representation. if you want to customized, check the indices/values fields. -Xiangrui On Fri, Dec 5, 2014 at 7:32 AM, debbie debbielarso...@hotmail.com wrote: Basic question: What is the best way to loop through one of these and print

printing mllib.linalg.vector

2014-12-04 Thread debbie
Basic question: What is the best way to loop through one of these and print their components? Convert them to an array? Thanks Deb