code: def size_mb(docs):
      return sum(len(s.encode("utf-8")) for s in docs) / 1e6
  
file_path: scikit-learn/examples/text/plot_document_classification_20newsgroups.py
imports: from time import time
  from sklearn.datasets import fetch_20newsgroups
  from sklearn.feature_extraction.text import TfidfVectorizer
  from sklearn.linear_model import RidgeClassifier
  import matplotlib.pyplot
  from sklearn.metrics import ConfusionMatrixDisplay
  import numpy
  import pandas
  from sklearn import metrics
  from sklearn.utils.extmath import density
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LogisticRegression, SGDClassifier
  from sklearn.naive_bayes import ComplementNB
  from sklearn.neighbors import KNeighborsClassifier, NearestCentroid
  from sklearn.svm import LinearSVC
label_desc: Use image node_id 1 for calling a global function with example usage: size_mb(docs) and returns: unknown