You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Madabhattula Rajesh Kumar <mr...@gmail.com> on 2017/02/09 05:37:54 UTC

MultiLabelBinarizer

Hi,

Do we have a below equivalent preprocessing function in Spark ML?

from sklearn.preprocessing import MultiLabelBinarizer

Regards,

Rajesh

Re: MultiLabelBinarizer

Posted by Georg Heiler <ge...@gmail.com>.
I believe only
http://stackoverflow.com/questions/34167105/using-spark-mls-onehotencoder-on-multiple-columns
is
currently possible i.e. using multiple stringindexers and then multiple one
hot encoders one per column

Madabhattula Rajesh Kumar <mr...@gmail.com> schrieb am Do., 9. Feb.
2017 um 06:38 Uhr:

> Hi,
>
> Do we have a below equivalent preprocessing function in Spark ML?
>
> from sklearn.preprocessing import MultiLabelBinarizer
>
> Regards,
>
> Rajesh
>
>
>