code: def _yield_all_checks(name, Visualizer):
      """
      Composes the checks required for the specific visualizer.
      """
  
      # Global Checks
      yield check_instantiation
      yield check_estimator_api
  
      # Visualizer Type Checks
      if issubclass(Visualizer, RegressionScoreVisualizer):
          for check in _yield_regressor_checks(name, Visualizer):
              yield check
  
      if issubclass(Visualizer, ClassificationScoreVisualizer):
          for check in _yield_classifier_checks(name, Visualizer):
              yield check
  
      if issubclass(Visualizer, ClusteringScoreVisualizer):
          for check in _yield_clustering_checks(name, Visualizer):
              yield check
  
      if issubclass(Visualizer, FeatureVisualizer):
          for check in _yield_feature_checks(name, Visualizer):
              yield check
  
      if issubclass(Visualizer, TextVisualizer):
          for check in _yield_text_checks(name, Visualizer):
              yield check
  
file_path: yellowbrick/tests/checks.py
imports: import sys
  import numpy
  import matplotlib.pyplot
  from yellowbrick.base import ModelVisualizer, ScoreVisualizer
  from yellowbrick.classifier.base import ClassificationScoreVisualizer
  from yellowbrick.cluster.base import ClusteringScoreVisualizer
  from yellowbrick.features.base import FeatureVisualizer, DataVisualizer
  from yellowbrick.regressor.base import RegressionScoreVisualizer
  from yellowbrick.text.base import TextVisualizer
label_desc: Use image node_id 2 for calling a global function with example usage: _yield_all_checks(name, Visualizer) without return types