You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2015/10/25 13:52:27 UTC
[jira] [Comment Edited] (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=14973222#comment-14973222 ]
Yanbo Liang edited comment on SPARK-6724 at 10/25/15 12:51 PM:
---------------------------------------------------------------
[~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.
was (Author: yanboliang):
[~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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org