class_docstr: Test DecisionBoundariesVisualizer
class_docstr_tok: ["Test","DecisionBoundariesVisualizer"]
docstr: Test integration of visualizer with pandas dataset
docstr_tok: ["Test","integration","of","visualizer","with","pandas","dataset"]
code: def test_real_data_set_viz(self):
      """
      Test integration of visualizer with pandas dataset
      """
      model = naive_bayes.MultinomialNB()
  
      data = datasets.load_iris()
      feature_names = [
          name.replace(" ", "_") for name in data.feature_names
      ]
      df = pd.DataFrame(data.data, columns=feature_names)
      X = df[["sepal_length_(cm)", "sepal_width_(cm)"]].values
      y = data.target
  
      visualizer = DecisionBoundariesVisualizer(model)
      visualizer.fit_draw_show(X, y)
      self.assert_images_similar(visualizer)
  
imports: import sys
  import pytest
  import numpy
  from unittest import mock
  from tests.base import VisualTestCase
  from yellowbrick.contrib.classifier import *
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn import datasets
  from sklearn import neighbors
  from sklearn import naive_bayes
label_desc: Use image node_id 19 for calling the TestDecisionBoundariesVisualizer obj's underlying member method code with example usage: obj.test_real_data_set_viz() without return types