I have an array of numbers called X with shape (1, 19).
Also I have some functions like X
, np.log(X)
, 1/(1+np.exp(-X))
and so on.
I need to get all combinations of arrays with applied functions on each item in array.
For example:
X = [ 1 2 3 ]
Y[1] = [ 1 2 3]
Y[2] = [ ln(1) 2 3 ]
Y[3] = [ 1 ln(2) 3 ]
...
Y[k] = [ ln(1) ln(2) ln(3) ]
...
Y[m] = [ 1 ln(2) exp(3)]
...
Y[n] = [ exp(1) exp(2) exp(3) ]
Is it possible?