class_docstr: K-Elbow Visualizer Tests
class_docstr_tok: ["K-Elbow","Visualizer","Tests"]
docstr: Test the quick method correctly consumes the user-provided parameters
code: def test_quick_method_params(self):
      """
      Test the quick method correctly consumes the user-provided parameters
      """
      X, y = make_blobs(centers=3)
      custom_title = "My custom title"
      model = KMeans(3, random_state=13)
      oz = kelbow_visualizer(
          model,
          X,
          sample_weight=np.ones(X.shape[0]),
          title=custom_title,
          show=False,
      )
      assert oz.title == custom_title
  
imports: import sys
  import pytest
  import numpy
  import matplotlib.pyplot
  from scipy.sparse import csc_matrix, csr_matrix
  from numpy.testing import assert_array_almost_equal
  from sklearn.datasets import make_blobs
  from sklearn.cluster import KMeans, MiniBatchKMeans
  from sklearn.feature_extraction.text import TfidfVectorizer
  from tests.fixtures import Dataset
  from tests.base import VisualTestCase
  from yellowbrick.datasets import load_hobbies
  from yellowbrick.cluster.elbow import distortion_score
  from yellowbrick.cluster.elbow import KElbowVisualizer, kelbow_visualizer
  from yellowbrick.exceptions import YellowbrickValueError, YellowbrickWarning
  from tests.base import IS_WINDOWS_OR_CONDA
label_desc: Use image node_id 17 for calling the TestKElbowVisualizer obj's underlying member method code with example usage: obj.test_quick_method_params() without return types