spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Bradley <jos...@databricks.com>
Subject Re: sparse vector operations in Python
Date Wed, 11 Mar 2015 01:18:10 GMT
There isn't a great way currently.  The best option is probably to convert
to scipy.sparse column vectors and add using scipy.
Joseph

On Mon, Mar 9, 2015 at 4:21 PM, Daniel, Ronald (ELS-SDG) <
R.Daniel@elsevier.com> wrote:

> Hi,
>
> Sorry to ask this, but how do I compute the sum of 2 (or more) mllib
> SparseVectors in Python?
>
> Thanks,
> Ron
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message