|
start_vector = np.repeat(0, d + thetaOffset) |
This gives an error if the number of hyperparameters that require estimation exceeds the number of dimensions (d). I think this might be an easy fix:
h=0
for dic in hyper_param:
h+=len(dic)
start_vector = np.repeat(1, h + thetaOffset)
pycopula/pycopula/estimation.py
Line 76 in 697e2fb
This gives an error if the number of hyperparameters that require estimation exceeds the number of dimensions (d). I think this might be an easy fix:
h=0
for dic in hyper_param:
h+=len(dic)
start_vector = np.repeat(1, h + thetaOffset)