Model Saving and Loading
Model Saving
Save model(s) to mounted storage
Remove a model
Spark MLlib models are actually a series of files in a directory. So, you will need to recursively delete the files in model's directory, then the directory itself.
Score new data using a trained model
Load in required libraries
Load in the transformation pipeline
Load in the trained model
Remove unnecessary columns from the scored data
Last updated