class_docstr: Object returned by explainers.
docstr: Saves html explanation to file. .
  
  Params:
      file_path: file to save explanations to
  
  See as_html() for additional parameters.
docstr_tok: ["Saves","html","explanation","to","file",".",".","Params",":","file_path",":","file","to","save","explanations","to","See","as_html","(",")","for","additional","parameters","."]
code: def save_to_file(
      self,
      file_path,
      labels=None,
      predict_proba=True,
      show_predicted_value=True,
      **kwargs,
  ):
      """Saves html explanation to file. .
  
      Params:
          file_path: file to save explanations to
  
      See as_html() for additional parameters.
  
      """
      file_ = open(file_path, "w", encoding="utf8")
      file_.write(
          self.as_html(
              labels=labels,
              predict_proba=predict_proba,
              show_predicted_value=show_predicted_value,
              **kwargs,
          )
      )
      file_.close()
  
imports: from io import open
  import os
  import os.path
  import json
  import string
  import numpy
  from .exceptions import LimeError
  from sklearn.utils import check_random_state
label_desc: Use image node_id 7 for calling the Explanation obj's underlying member method code with example usage: obj.save_to_file(file_path, labels, predict_proba, show_predicted_value) without return types