You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there again,
I'm using the option least_squares_diff in latent_infer (nice one btw). I've noticed that, after doing xm = np.diff(xm,axis=0) in line 3654 of inference.pyx (function _obtain_square_dev_for_lat_traj_diff) the variable xm can end up with negative values which are added to sqdev when they are used in the denominator to normalize it. This is bad because sqdev could decrease towards minus infinity in search of a minimum. Shouldn't xm_red in the denominator of line 3658 be surrounded by np.abs() or something?
Rodrigo
The text was updated successfully, but these errors were encountered:
Hi there again,
I'm using the option
least_squares_diff
inlatent_infer
(nice one btw). I've noticed that, after doingxm = np.diff(xm,axis=0)
in line 3654 ofinference.pyx
(function_obtain_square_dev_for_lat_traj_diff
) the variablexm
can end up with negative values which are added tosqdev
when they are used in the denominator to normalize it. This is bad becausesqdev
could decrease towards minus infinity in search of a minimum. Shouldn'txm_red
in the denominator of line 3658 be surrounded by np.abs() or something?Rodrigo
The text was updated successfully, but these errors were encountered: