MCPcopy Create free account
hub / github.com/modAL-python/modAL / product_function

Function product_function

modAL/utils/combination.py:57–59  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

55 'same as the number of given functions'
56
57 def product_function(*args, **kwargs):
58 return np.prod([functions[i](*args, **kwargs)**exponents[i]
59 for i in range(len(exponents))], axis=0)
60
61 return product_function
62

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…