You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like spark cannot zip the two RDDs. Did You try train_text.zip(train_y) without creating a DictRDD? This is exactly what splearn does under the hood - probably You will get the same exception.
Also DictRDD accepts RDD of tuples, please try the following:
I am trying to create a DictRdd as follows:
But, I get the follwing error, when I do:
I tried the following as well, but with no sucess:
The text was updated successfully, but these errors were encountered: