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

Yanbo Liang commented on SPARK-6724:
------------------------------------

[~josephkb] Now we can save FPGrowthModel with arbitrary types leverage 
{ScalaReflection.schemaFor}. However when we load this model we have to get the 
{Item} type first, there is no exist API to do the map between DataFrame types 
and the Scala types, so I defined this map in a function. I think this is only 
a workaround, we should figure out a better way. Looking forward your comments.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to