code: def initial_coefficient(decomposition):
      """Compute initial coefficient of the decomposition."""
      order = np.sum(decomposition)
      coef = math.factorial(order)
      coef /= np.prod([math.factorial(x) for x in decomposition])
      _, counts = np.unique(decomposition, return_counts=True)
      coef /= np.prod([math.factorial(c) for c in counts])
      return coef
  
file_path: tffm/tffm/utils.py
imports: import math
  import numpy
  import tensorflow
  import itertools
  from itertools import combinations_with_replacement, takewhile, count
  from collections import defaultdict
label_desc: Use image node_id 3 for calling a global function with example usage: initial_coefficient(decomposition) and returns: coef