code: def main():
      # Load Connect-4 game data
      X, y = load_game()
  
      print(f"X.shape={X.shape}")
      print(f"y.shape={y.shape}")
  
      X_enc = OneHotEncoder().fit_transform(X)
      le = LabelEncoder()
      y_enc = le.fit_transform(y)
  
      fig, ax = plt.subplots()
      dropping_curve(
          MultinomialNB(),
          X_enc,
          y_enc,
          feature_sizes=np.linspace(0.05, 1, 20),
          ax=ax,
      )
  
file_path: yellowbrick/examples/cguan/dropping-curve.py
imports: import matplotlib.pyplot
  import numpy
  from sklearn.pipeline import make_pipeline
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LogisticRegression
  from sklearn.naive_bayes import MultinomialNB
  from sklearn.preprocessing import OneHotEncoder, LabelEncoder
  from yellowbrick.datasets import load_game
  from yellowbrick.model_selection.dropping_curve import dropping_curve
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types