code: def shorten_param(param_name):
      """Remove components' prefixes in param_name."""
      if "__" in param_name:
          return param_name.rsplit("__", 1)[1]
      return param_name
  
file_path: scikit-learn/examples/model_selection/plot_grid_search_text_feature_extraction.py
imports: from sklearn.datasets import fetch_20newsgroups
  from sklearn.feature_extraction.text import TfidfVectorizer
  from sklearn.naive_bayes import ComplementNB
  from sklearn.pipeline import Pipeline
  import numpy
  from pprint import pprint
  from sklearn.model_selection import RandomizedSearchCV
  from time import time
  import pandas
  import plotly.express
  import math
label_desc: Use image node_id 1 for calling a global function with example usage: shorten_param(param_name) and returns: param_name, param_name