You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hrishikesh (JIRA)" <ji...@apache.org> on 2015/07/06 13:43:05 UTC

[jira] [Commented] (SPARK-6724) Model import/export for FPGrowth

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

Hrishikesh commented on SPARK-6724:
-----------------------------------

I am facing some issues in my code: https://github.com/FlytxtRnD/spark/commit/61fc9ee35f2a47402eb977c048fd07289141fe64 . 

​I am getting the following error when I tried to build:

_No TypeTag available for (Array\[Item], Long) val dataRDD = model.map(x=> (x.items,x.freq)).toDF()​_

​I tried to return just a tuple of (Array\[Item], Long)​ rather than using the case class, but still results in the same error. 

​Also, how to pass ClassTag to object FPGrowthModel to extend the Loader\[FPGrowthModel] ?

​Can anybody please help?​

> Model import/export for FPGrowth
> --------------------------------
>
>                 Key: SPARK-6724
>                 URL: https://issues.apache.org/jira/browse/SPARK-6724
>             Project: Spark
>          Issue Type: Sub-task
>          Components: MLlib
>    Affects Versions: 1.3.0
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> Note: experimental model API



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