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
the estimation of the parameters fails, the log-likelihood diverges in the optimization steps. After some inspections, I figured out that the values stored in lifetime_data.rc where the same than those in data._time.D_RC but in a different order. Thus, after reordering index and values created in union below, the error has disappeared. Here is the union working fine :
This affects the branch refactoring
Here is a sample code to reproduce the issue :
Then if in
utils.data
,IndexedData.union
is like :the estimation of the parameters fails, the log-likelihood diverges in the optimization steps. After some inspections, I figured out that the values stored in
lifetime_data.rc
where the same than those indata._time.D_RC
but in a different order. Thus, after reordering index and values created inunion
below, the error has disappeared. Here is theunion
working fine :why does the order of values matter ? is it due to scipy operations ? is the fault of
np.concatenate
?The text was updated successfully, but these errors were encountered: