[jira] [Created] (FLINK-9664) FlinkML Quickstart Loading Data section example doesn't work as described

2018-06-26 Thread Mano Swerts (JIRA)
Mano Swerts created FLINK-9664: -- Summary: FlinkML Quickstart Loading Data section example doesn't work as described Key: FLINK-9664 URL: https://issues.apache.org/jira/browse/FLINK-9664 Project: Flink

Re: FlinkML SVM Predictions are always 1.0

2018-06-25 Thread Mano Swerts
the data from the example on the Flink website. It gives me the impression that it is using the vector as the label instead of the value… Any insights? — Mano On 25 Jun 2018, at 11:40, Mano Swerts mailto:mano.swe...@ixxus.com>> wrote: Hi Rong, As you can see in my test data example,

Re: FlinkML SVM Predictions are always 1.0

2018-06-25 Thread Mano Swerts
should work for your case. > For the change of eval pairs, I think SVM in FlinkML will always return > a +1.0 or -1.0 when you use it this way as a binary classification. > > Thanks, > Rong > > [1] https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/svmguide1 >

FlinkML SVM Predictions are always 1.0

2018-06-22 Thread Mano Swerts
Hi guys, Here I am again. I am playing with Flink ML and was just trying to get the example to work used in the documentation: https://ci.apache.org/projects/flink/flink-docs-release-1.5/dev/libs/ml/quickstart.html#loading-data (the one using the astroparticle LibSVM data). My code is

Re: Running a Scala Job doesn't produce print output

2018-06-21 Thread Mano Swerts
, as used in the Flink Maven archetype, it works fine. I don’t know whether this is a bug or the example needs updating. At least now this has been recorded for others struggling with the same issue in the future. — Mano On 21 Jun 2018, at 11:27, Mano Swerts mailto:mano.swe...@ixxus.com>> wrot

Running a Scala Job doesn't produce print output

2018-06-21 Thread Mano Swerts
Hi guys, I have a question. I have been playing around with Fink this week and created some basic Java jobs that work fine. Now I am trying to run one in Scala. Running this code in the Scala REP prints the expected output: env.fromElements(1, 2, 3).map(i => " Integer: " + i).print()