You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write this issue because I've had some trouble getting the library to work. The thing is, in the main README file, there is this piece of code:
// This will be all that you needimportio.radicalbit.flink.pmml.scala._importorg.apache.flink.ml.math.Vectorimportorg.apache.flink.streaming.api.scala._objectFlinkJpmmlExample {
defmain(args: Array[String]):Unit= {
// your model can reside in any Flink supported backendvalpathToPmml="/even/to/distributed/systems"valenv=StreamExecutionEnvironment.getExecutionEnvironment
valevents= env.yourInputStream
// a lazy reader implementationvalreader=ModelReader(pathToPmml)
However, I couldn't get this piece of code to work. After searching through the repo, I found that an additional import was required:
Good morning.
I write this issue because I've had some trouble getting the library to work. The thing is, in the main README file, there is this piece of code:
However, I couldn't get this piece of code to work. After searching through the repo, I found that an additional import was required:
Could this import be added to the README example? I know it's already in the examples, but not having it in the main README file could be misleading.
For reference, I tried this on an Ubuntu 18.04 VM, working with Flink 1.9.0 and Scala 2.11.12, compiled with sbt 1.0.
The text was updated successfully, but these errors were encountered: