- surprise.dump.dump(file_name, predictions=None, algo=None, verbose=0)¶
A basic wrapper around Pickle to serialize a list of prediction and/or an algorithm on drive.
What is dumped is a dictionary with keys
file_name (str) – The name (with full path) specifying where to dump the predictions.
predictions (list of
Prediction) – The predictions to dump.
Algorithm, optional) – The algorithm to dump.
verbose (int) – Level of verbosity. If
1, then a message indicates that the dumping went successfully. Default is
A basic wrapper around Pickle to deserialize a list of prediction and/or an algorithm that were dumped on drive using