code: def _jensen_shannon(_P, _Q):
      _M = 0.5 * (_P + _Q)
      return 0.5 * (entropy(_P, _M) + entropy(_Q, _M))
  
imports: import json
  import logging
  import numpy
  import pandas
  from collections import namedtuple
  from joblib import Parallel, delayed, cpu_count
  from scipy.stats import entropy
  from scipy.spatial.distance import pdist, squareform
  from sklearn.manifold import MDS, TSNE
  from pyLDAvis.utils import NumPyEncoder
label_desc: Use image node_id 4 for calling a global function with example usage: _jensen_shannon(_P, _Q) and returns: unknown