code: def example_explanation():
      data = synthetic_classification()
      explainer = LogisticRegression()
      explainer.fit(data["train"]["X"], data["train"]["y"])
      explanation = explainer.explain_local(
          data["test"]["X"].head(), data["test"]["y"].head()
      )
      return explanation
  
file_path: interpret/python/interpret-core/tests/provider/test_providers.py
imports: from interpret.provider import JobLibProvider
  from interpret.provider import AutoVisualizeProvider, DashProvider, PreserveProvider, InlineProvider
  import pytest
  from ..tutils import synthetic_classification
  from interpret.glassbox import LogisticRegression
label_desc: Use image node_id 2 for calling a global function with example usage: example_explanation() and returns: explanation