cellrank.ul.models.SKLearnModel.write

SKLearnModel.write(fname, write_adata=True, ext='pickle')

Serialize self to a file.

Parameters
  • fname (Union[str, Path]) – Filename where to save the object.

  • write_adata (bool) – Whether to save adata object or not, if present.

  • ext (Optional[str]) – Filename extension to use. If None, don’t append any extension.

Return type

None

Returns

Nothing, just writes itself to a file using pickle.