Hi Marco and Yanbo, It is not the usage of MulticlassClassificationEvaluator. Probably I was not clear. Let me explain:
I am trying to use confusionMatrix which is not present in MulticlassClassificationEvaluator ml version where as it is present in MulticlassMetrics of mllib. How to leverage RDD version using ml dataframes ? *mllib*: MulticlassMetrics *ml*: MulticlassClassificationEvaluator On Sun, Nov 20, 2016 at 4:52 AM, Marco Mistroni <mmistr...@gmail.com> wrote: > Hi > you can also have a look at this example, > > https://github.com/sryza/aas/blob/master/ch04-rdf/src/main/ > scala/com/cloudera/datascience/rdf/RunRDF.scala#L220 > > kr > marco > > On Sun, Nov 20, 2016 at 9:09 AM, Yanbo Liang <yblia...@gmail.com> wrote: > >> You can refer this example(http://spark.apache.or >> g/docs/latest/ml-tuning.html#example-model-selection-via-cross-validation) >> which use BinaryClassificationEvaluator, and it should be very >> straightforward to switch to MulticlassClassificationEvaluator. >> >> Thanks >> Yanbo >> >> On Sat, Nov 19, 2016 at 9:03 AM, janardhan shetty <janardhan...@gmail.com >> > wrote: >> >>> Hi, >>> >>> I am trying to use the evaluation metrics offered by mllib >>> multiclassmetrics in ml dataframe setting. >>> Is there any examples how to use it? >>> >> >> >