Using ML lib SVM with Java

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Using ML lib SVM with Java

Malte Schwarzer-2
Hi folks,

I tried to get the FlinkML SVM running - but it didn't really work. The
SVM.fit() method requires a DataSet<Training> parameter but there is no
such class/interface in Flink Java. Or am I mixing something up with
Scala? Also, I couldn't find a Flink ML example for Java (there is only
Scala).

Is there any guide how to use the Flink ML Lib with Java? Or is Java
currently not yet available for the ML lib?


Best regards
Malte

Reply | Threaded
Open this post in threaded view
|

Re: Using ML lib SVM with Java

Simone Robutti
To my knowledge FlinkML does not support an unified API and most things must be used exclusively with Scala Datasets.

2016-05-09 13:31 GMT+02:00 Malte Schwarzer <[hidden email]>:
Hi folks,

I tried to get the FlinkML SVM running - but it didn't really work. The
SVM.fit() method requires a DataSet<Training> parameter but there is no
such class/interface in Flink Java. Or am I mixing something up with
Scala? Also, I couldn't find a Flink ML example for Java (there is only
Scala).

Is there any guide how to use the Flink ML Lib with Java? Or is Java
currently not yet available for the ML lib?


Best regards
Malte


Reply | Threaded
Open this post in threaded view
|

Re: Using ML lib SVM with Java

Theodore Vasiloudis
Hello Malte,

As Simone said there is no Java support currently for FlinkML unfortunately.

Regards,
Theodore

On Mon, May 9, 2016 at 3:05 PM, Simone Robutti <[hidden email]> wrote:
To my knowledge FlinkML does not support an unified API and most things must be used exclusively with Scala Datasets.

2016-05-09 13:31 GMT+02:00 Malte Schwarzer <[hidden email]>:
Hi folks,

I tried to get the FlinkML SVM running - but it didn't really work. The
SVM.fit() method requires a DataSet<Training> parameter but there is no
such class/interface in Flink Java. Or am I mixing something up with
Scala? Also, I couldn't find a Flink ML example for Java (there is only
Scala).

Is there any guide how to use the Flink ML Lib with Java? Or is Java
currently not yet available for the ML lib?


Best regards
Malte