Re: How to Overwrite a saved PySpark ML Model

2019-01-21 Thread Aakash Basu
Hey all, The message seems to be a Java error message, and not a Python one. So, now I tried by calling the writemethod first: lr_model.write().overwrite().save(input_dict["config"]["save_model_path"]) It is still running, shall update if it works, otherwise shall need your help. Thanks, Aakash

How to Overwrite a saved PySpark ML Model

2019-01-21 Thread Aakash Basu
Hi, I am trying to overwrite a Spark ML Logistic Regression Model, but it isn't working. Tried: a) lr_model.write.overwrite().save(input_dict["config"]["save_model_path"]) and b) lr_model.write.overwrite.save(input_dict["config"]["save_model_path"]) This works (if I do not want to overwrite): lr