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/08/10 09:55:20 UTC

[jira] [Commented] (SPARK-16993) model.transform without label column in random forest regression

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

Sean Owen commented on SPARK-16993:
-----------------------------------

Questions should go to user@.
Can you clarify? where do you get this exception? the transform method does not require a label, no.

> model.transform without label column in random forest regression
> ----------------------------------------------------------------
>
>                 Key: SPARK-16993
>                 URL: https://issues.apache.org/jira/browse/SPARK-16993
>             Project: Spark
>          Issue Type: Question
>          Components: Java API, ML
>            Reporter: Dulaj Rajitha
>
> I need to use a separate data set to prediction (Not as show in example's training data split).
> But those data do not have the label column. (Since these data are the data that needs to be predict the label).
> but model.transform is informing label column is missing.
> org.apache.spark.sql.AnalysisException: cannot resolve 'label' given input columns: [id,features,prediction]



--
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