Hi Thanks for all the details. I was able to convert from ml.NaiveBayesModel to mllib.NaiveBayesModel and get it done. It is fast for our use case.
Just one question. Before mllib is removed can ml package be expected to reach feature parity with mllib? On Thu, Sep 1, 2016 at 7:12 PM, Sean Owen <so...@cloudera.com> wrote: > Yeah there's a method to predict one Vector in the .mllib API but not > the newer one. You could possibly hack your way into calling it > anyway, or just clone the logic. > > On Thu, Sep 1, 2016 at 2:37 PM, Nick Pentreath <nick.pentre...@gmail.com> > wrote: > > Right now you are correct that Spark ML APIs do not support predicting > on a > > single instance (whether Vector for the models or a Row for a pipeline). > > > > See https://issues.apache.org/jira/browse/SPARK-10413 and > > https://issues.apache.org/jira/browse/SPARK-16431 (duplicate) for some > > discussion. > > > > There may be movement in the short term to support the single Vector > case. > > But anything for pipelines is not immediately on the horizon I'd say. > > > > N > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > >