search +
This commit is contained in:
parent
05d1967cd5
commit
ac4f81918e
|
@ -315,7 +315,7 @@ class KDEyMLauto2(KDEyML):
|
||||||
|
|
||||||
return loss_accum
|
return loss_accum
|
||||||
|
|
||||||
bounds = [tuple((0, 1))]
|
bounds = [tuple((0.0001, np.log10(0.2)))]
|
||||||
init_bandwidth = 0.1
|
init_bandwidth = 0.1
|
||||||
r = optimize.minimize(neg_loglikelihood_band_, x0=[init_bandwidth], method='SLSQP', bounds=bounds)
|
r = optimize.minimize(neg_loglikelihood_band_, x0=[init_bandwidth], method='SLSQP', bounds=bounds)
|
||||||
best_band = r.x[0]
|
best_band = r.x[0]
|
||||||
|
|
Loading…
Reference in New Issue