Re: MLLib: loading saved model

2014-12-04 Thread manish_k
is that weights should be in vector format so you have to convert weights to vector after reading from file and your intercept will be 0.0 as you mentioned. Regards, Manish -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MLLib-loading-saved-model-tp20281p20354.html

MLLib: loading saved model

2014-12-03 Thread Sameer Tilak
Hi All,I am using LinearRegressionWithSGD and then I save the model weights and intercept. File that contains weights have this format: 1.204550.13560.000456.. Intercept is 0 since I am using train not setting the intercept so it can be ignored for the moment. I would now like to initialize