How to overwrite Spark ML model in PySpark?
The message you see is a Java error message, not a Python one. You should call the write
method first:
rf_model.write().overwrite().save(rf_model_path)
The message you see is a Java error message, not a Python one. You should call the write
method first:
rf_model.write().overwrite().save(rf_model_path)