I changed import in the sample from
import org.apache.spark.mllib.linalg.*;
to
import org.apache.spark.ml.linalg.*;
and the sample now runs.
Thanks
Bob
On Wed, Jul 27, 2016 at 1:33 PM, Robert Goodman wrote:
> I tried to run the JavaAFTSurvivalRegressionExample on Spark
I tried to run the JavaAFTSurvivalRegressionExample on Spark 2.0 and the
example doesn't work. It looks like the problem is that the example is
using the MLLib Vector/VectorUDT to create the DataSet which needs to be
converted using MLUtils before using in the model. I haven't actually tried
this y