cpa.CPA.save#
- CPA.save(dir_path, overwrite=False, save_anndata=False, **anndata_write_kwargs)[source]#
Saves the state of the model.
- Parameters:
- dir_path str
Path to a directory.
- overwrite bool, optional (default: False)
Whether to overwrite the model/data in dir_path if it already exists.
- save_anndata bool, optional (default: False)
Whether to save the anndata along with the model.
- **anndata_write_kwargs keyword arguments
Keyword arguments to pass to anndata’s write function.