Trying PCA on spark but serialization is error thrown

2015-10-06 Thread Cukoo
essage in context: http://apache-spark-user-list.1001560.n3.nabble.com/Trying-PCA-on-spark-but-serialization-is-error-thrown-tp24957.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-m

Trying PCA on spark but serialization is error thrown

2015-10-06 Thread Simon Hebert
Hi, I tried to used the PCA object in one of my project but end up receiving a serialization error. Any help would be appreciated. Example taken from https://spark.apache.org/docs/latest/mllib-feature-extraction.html#pca My Code: val selector = new PCA(20) val transformer = selector.fit(discretiz