save()#
- TransformerPipeline.save(savefile: str, overwrite: bool = False)[source]#
Save the transformer to an HDF5 file.
- Parameters:
- savefilestr
Path of the file to save the transformer to.
- overwritebool
If
True
, overwrite the file if it already exists.
- Raises:
- FileExistsError
If
overwrite=False
but thesavefile
already exists.