docstr: Save model to a pickle file.
  
  Parameters
  ----------
  path : str
      Full file path.
docstr_tok: ["Save","model","to","a","pickle","file",".","Parameters","--","--","--","--","--","path",":","str","Full","file","path","."]
code: def to_pickle(self, path):
      """
      Save model to a pickle file.
  
      Parameters
      ----------
      path : str
          Full file path.
      """
  
      d = self._to_dict()
      pickle.dump(d, open(path, "wb"), protocol=2)
  
imports: from abc import ABCMeta, abstractmethod
  from sklearn.exceptions import NotFittedError
  from sklearn.base import BaseEstimator
  import json
  import pickle
  import numpy
  from warnings import warn
label_desc: Use image node_id 12 for calling the BaseModelPackage obj's underlying member method code with example usage: obj.to_pickle(path) without return types