The example works for me, please check your environment and ensure you are
using Spark 2.3.0 where OneHotEncoderEstimator was introduced.
On Fri, May 18, 2018 at 12:57 AM, Matteo Cossu wrote:
> Hi,
>
> are you sure Dataset has a method withColumns?
>
> On 15 May 2018 at
Hi,
are you sure Dataset has a method withColumns?
On 15 May 2018 at 16:58, Mina Aslani wrote:
> Hi,
>
> I get below error when I try to run oneHotEncoderEstimator example.
> https://github.com/apache/spark/blob/b74366481cc87490adf4e69d26389e
>
Hi,
I get below error when I try to run oneHotEncoderEstimator example.
https://github.com/apache/spark/blob/b74366481cc87490adf4e69d26389ec737548c15/examples/src/main/java/org/apache/spark/examples/ml/JavaOneHotEncoderEstimatorExample.java#L67
Which is this line of the code: