class_docstr: An abstract interface to ensure equal methods between the
  main class `sklearn_porter.Estimator` and all subclasses
  in `sklearn-porter.estimator.*`.
docstr: Dump an estimator to the filesystem.
  
  Parameters
  ----------
  language : Language
      The required language.
  template : Template
      The required template
  class_name : str
      Change the default class name which will be used in the generated
      output. By default the class name of the passed estimator will be
      used, e.g. `DecisionTreeClassifier`.
  converter : Callable
      Change the default converter of all floating numbers from the model
      data. By default a simple string cast `str(value)` will be used.
  directory : str or Path
      The destination directory.
  to_json : bool (default: False)
      Return the result as JSON string.
  
  Returns
  -------
  The paths to the dumped files.
docstr_tok: ["Dump","an","estimator","to","the","filesystem",".","Parameters","--","--","--","--","--","language",":","Language","The","required","language",".","template",":","Template","The","required","template","class_name",":","str","Change","the","default","class","name","which","will","be","used","in","the","generated","output",".","By","default","the","class","name","of","the","passed","estimator","will","be","used",",","e.g",".","`","DecisionTreeClassifier","`",".","converter",":","Callable","Change","the","default","converter","of","all","floating","numbers","from","the","model","data",".","By","default","a","simple","string","cast","`","str","(","value",")","`","will","be","used",".","directory",":","str","or","Path","The","destination","directory",".","to_json",":","bool","(","default",":","False",")","Return","the","result","as","JSON","string",".","Returns","--","--","--","-","The","paths","to","the","dumped","files","."]
code: def save(
      self,
      language: enum.Language,
      template: enum.Template,
      class_name: str,
      converter: Callable[[object], str],
      directory: Optional[Union[str, Path]] = None,
      to_json: bool = False,
  ) -> Union[str, Tuple[str, str]]:
      """
      Dump an estimator to the filesystem.
  
      Parameters
      ----------
      language : Language
          The required language.
      template : Template
          The required template
      class_name : str
          Change the default class name which will be used in the generated
          output. By default the class name of the passed estimator will be
          used, e.g. `DecisionTreeClassifier`.
      converter : Callable
          Change the default converter of all floating numbers from the model
          data. By default a simple string cast `str(value)` will be used.
      directory : str or Path
          The destination directory.
      to_json : bool (default: False)
          Return the result as JSON string.
  
      Returns
      -------
      The paths to the dumped files.
      """
  
file_path: sklearn-porter/sklearn_porter/estimator/EstimatorApiABC.py
imports: from abc import ABC, abstractmethod
  from pathlib import Path
  from typing import Optional, Tuple, Union, Callable
  from sklearn_porter import enums
label_desc: Use image node_id 2 for calling the EstimatorApiABC obj's underlying member method code with example usage: obj.save(language, template, class_name, converter, directory, to_json) without return types