Hi Xiaomeng,
Have you tried to confirm the DataFrame contents before fitting? like
assembleddata.show()
before fitting.
Regards,
Yuhao
2016-12-21 10:05 GMT-08:00 Xiaomeng Wan :
> Hi,
>
> I am running linear regression on a dataframe and get the following error:
>
> Exception in thread "main" ja
Hi,
I am running linear regression on a dataframe and get the following error:
Exception in thread "main" java.lang.AssertionError: assertion failed:
Training dataset is empty.
at scala.Predef$.assert(Predef.scala:170)
at
org.apache.spark.ml.optim.WeightedLeastSquares$Aggregator.validate(Weight