Matrix.toBreeze is a private method. MLlib matrices have the same structure
as Breeze Matrices. Just create a new Breeze matrix like this
<https://github.com/apache/spark/blob/43e0135421b2262cbb0e06aae53523f663b4f959/mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala#L270>
.

Best,
Burak


On Thu, Aug 20, 2015 at 3:28 AM, Yanbo Liang <yblia...@gmail.com> wrote:

> You can use Matrix.toBreeze()
> <https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala#L56>
>  .
>
> 2015-08-20 18:24 GMT+08:00 Naveen <nav...@formcept.com>:
>
>> Hi All,
>>
>> Is there anyway to convert a mllib matrix to a Dense Matrix of Breeze?
>> Any leads are appreciated.
>>
>>
>> Thanks,
>> Naveen
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
>> For additional commands, e-mail: user-h...@spark.apache.org
>>
>>
>

Reply via email to