lmlib.utils.beta.constrain_matrix_for_exponents#

lmlib.utils.beta.constrain_matrix_for_exponents(expos, threshold)#

Creates a matrix which reduces exponents which are summed higher then the threshold

Parameters
  • expos (tuple of array_like) – exponent vectors

  • threshold (int) – Threshold

Returns

H – H matrix

Return type

np.ndarray