class_docstr: An explanation for classifier or regressor,
  it can either explain weights or a single prediction.
class_docstr_tok: ["An","explanation","for","classifier","or","regressor",",","it","can","either","explain","weights","or","a","single","prediction","."]
docstr: HTML formatting for the notebook.
          
docstr_tok: ["HTML","formatting","for","the","notebook","."]
code: def _repr_html_(self):
      """HTML formatting for the notebook."""
      from eli5.formatters import fields
      from eli5.formatters.html import format_as_html
  
      return format_as_html(
          self, force_weights=False, show=fields.WEIGHTS
      )
  
imports: from typing import Any, List, Tuple, Union, Optional
  import numpy
  from .base_utils import attrs
  from .formatters.features import FormattedFeatureName
label_desc: Use image node_id 2 for calling the Explanation obj's underlying member method code with example usage: obj._repr_html_() and returns: format_as_html