save()#
- InterpContinuousModel.save(savefile: str, overwrite: bool = False) None#
Serialize the model, saving it in HDF5 format. The model can be recovered with the
load()class method.- Parameters:
- savefilestr
File to save to, with extension
.h5(HDF5).- overwritebool
If
Trueand the specifiedsavefilealready exists, overwrite the file. IfFalse(default) and the specifiedsavefilealready exists, raise an error.