class_docstr: Wrapper class for scikit-learn regression models.
docstr: Save a model to file in the format specific to the backend framework.
  
  :param filename: Name of the file where to store the model.
  :param path: Path of the folder where to store the model. If no path is specified, the model will be stored in
               the default data location of the library `ART_DATA_PATH`.
docstr_tok: ["Save","a","model","to","file","in","the","format","specific","to","the","backend","framework",".",":","param","filename",":","Name","of","the","file","where","to","store","the","model",".",":","param","path",":","Path","of","the","folder","where","to","store","the","model",".","If","no","path","is","specified",",","the","model","will","be","stored","in","the","default","data","location","of","the","library","`","ART_DATA_PATH","`","."]
code: def save(self, filename: str, path: Optional[str] = None) -> None:
      """
      Save a model to file in the format specific to the backend framework.
  
      :param filename: Name of the file where to store the model.
      :param path: Path of the folder where to store the model. If no path is specified, the model will be stored in
                   the default data location of the library `ART_DATA_PATH`.
      """
      if path is None:
          full_path = os.path.join(config.ART_DATA_PATH, filename)
      else:
          full_path = os.path.join(path, filename)
      folder = os.path.split(full_path)[0]
      if not os.path.exists(folder):
          os.makedirs(folder)
  
      with open(full_path + ".pickle", "wb") as file_pickle:
          pickle.dump(self.model, file=file_pickle)
  
imports: import logging
  import os
  import pickle
  from copy import deepcopy
  from typing import List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  from art.estimators.scikitlearn import ScikitlearnEstimator
  from art.estimators.regression.regressor import RegressorMixin
  from art import config
label_desc: Use image node_id 5 for calling the ScikitlearnRegressor obj's underlying member method code with example usage: obj.save(filename, path) without return types