NoSuchElementException: key not found

2015-11-10 Thread Ankush Khanna
Hi, I was working with a simple task (running locally). Just reading a file (35 mb) with about 200 features and making a random forest with 5 trees with 5 depth.  While saving the file with: predictions.select("VisitNumber", "probability")    .write.format("json") // tried different formats    .

Re: NoSuchElementException: key not found

2015-11-10 Thread Ankush Khanna
Any suggestions any one? Using version 1.5.1. Regards Ankush Khanna On Nov 10, 2015, at 11:37 AM, Ankush Khanna wrote: Hi, I was working with a simple task (running locally). Just reading a file (35 mb) with about 200 features and making a random forest with 5 trees with 5 depth.  While

Re: NoSuchElementException: key not found

2015-11-12 Thread Ankush Khanna
was bamboozled earlier, as my max category was very low.  I hope it helps if any one lands into similar problem. Thanks and Cheers Ankush On Nov 10, 2015, at 11:54 AM, Ankush Khanna wrote: Any suggestions any one? Using version 1.5.1. Regards Ankush Khanna On Nov 10, 2015, at 11:37 AM, Ankush