problem solved.
The package org.apache.spark.api.java.function.Function was missing.
Thanks.
Carlo
On 3 Aug 2016, at 12:14, Carlo.Allocca
mailto:carlo.allo...@open.ac.uk>> wrote:
Hi All,
I am trying to convert a Dataset into JavaRDD in order to
apply a linear regression.
I am using spark-co
Hi All,
I am trying to convert a Dataset into JavaRDD in order to
apply a linear regression.
I am using spark-core_2.10, version2.0.0 with Java 1.8.
My current approach is:
== Step 1: convert the Dataset into JavaRDD
JavaRDD dataPoints =modelDS.toJavaRDD();
== Step 2: convert JavaRDD int