You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/05/04 15:05:13 UTC

[jira] [Updated] (SPARK-14844) KMeansModel in spark.ml should allow to change featureCol and predictionCol

     [ https://issues.apache.org/jira/browse/SPARK-14844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-14844:
------------------------------
    Assignee: Dominik Jastrzębski

> KMeansModel in spark.ml should allow to change featureCol and predictionCol
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-14844
>                 URL: https://issues.apache.org/jira/browse/SPARK-14844
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.6.0, 1.6.1
>            Reporter: Dominik Jastrzębski
>            Assignee: Dominik Jastrzębski
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> We need to add setFeaturesCol, setPredictionCol methods in org.apache.spark.ml.clustering.KMeansModel.
> This will allow to:
> * transform a DataFrame with different feature column name than in the DataFrame the model was fitted on.
> * create a prediction column with name other than the name that was set during model fitting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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