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
In v1.0.1 calling the InteractionSegmentation with a list of proportions summing up to 1. sometimes (wrongly) raises the WrongProportionsException. However, if this list is first converted to a np.array and then passed to the segmentation, the Exception is not raised. (see attachments)
I therefore see two possible solutions:
Require the proportions argument to be a np.array (and not a list as it currently is)
Convert the proportions to a np.array at the beginning of the segment method