[ https://issues.apache.org/jira/browse/SPARK-10413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14905230#comment-14905230 ]
Joseph K. Bradley commented on SPARK-10413: ------------------------------------------- For API, I think my main question is whether predict() should take strong types (Vector, etc.) and/or Rows. I prefer supporting strong types first (as you are doing) since we could add support for Rows later on (although there could be difficult questions about missing schema for Scala/Java). For raw & probability, I would again vote for just making those public. But that could be done at a later time. > Model should support prediction on single instance > -------------------------------------------------- > > Key: SPARK-10413 > URL: https://issues.apache.org/jira/browse/SPARK-10413 > Project: Spark > Issue Type: Umbrella > Components: ML > Reporter: Xiangrui Meng > Priority: Critical > > Currently models in the pipeline API only implement transform(DataFrame). It > would be quite useful to support prediction on single instance. -- 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