You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:42:21 UTC

[jira] [Resolved] (SPARK-24689) java.io.NotSerializableException: org.apache.spark.mllib.clustering.DistributedLDAModel

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

Hyukjin Kwon resolved SPARK-24689.
----------------------------------
    Resolution: Incomplete

> java.io.NotSerializableException: org.apache.spark.mllib.clustering.DistributedLDAModel
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-24689
>                 URL: https://issues.apache.org/jira/browse/SPARK-24689
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>    Affects Versions: 2.3.1
>         Environment: !image-2018-06-29-13-42-30-255.png!
>            Reporter: konglingbo
>            Priority: Major
>              Labels: bulk-closed
>         Attachments: @CLZ98635A644[_EDXVF_@E.png
>
>
> scala> val predictionAndLabels=testing.map{case LabeledPoint(label,features)=>
>  | val prediction = model.predict(features)
>  | (prediction, label)
>  | }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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