I'm unable to find a function to save the model to a file and load the model to predict class of a new sample.