spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huaxin Gao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24283) Make standard scaler work without legacy MLlib
Date Thu, 17 May 2018 17:16:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-24283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479405#comment-16479405
] 

Huaxin Gao commented on SPARK-24283:
------------------------------------

[~holdenk] Hi Holden, all I need to do is to change 
{code:java}
val transformer: Vector => Vector = v => scaler.transform(OldVectors.fromML(v)).asML{code}
 to
{code:java}
val transformer: Vector => Vector = v => scaler.transform(v).asML{code}
so it will use the implicit converting, right?

> Make standard scaler work without legacy MLlib
> ----------------------------------------------
>
>                 Key: SPARK-24283
>                 URL: https://issues.apache.org/jira/browse/SPARK-24283
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.4.0
>            Reporter: holdenk
>            Priority: Trivial
>              Labels: starter
>
> Currently StandardScaler converts Spark ML vectors to MLlib vectors during prediction,
we should skip that step.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message