I've been trying to use the average DBA function provided by tslearn to compute the average of a set of time series. However, I've noticed that the results obtained with tslearn's implementation and with the original DBA.py module by Francois Petitjean (https://github.com/fpetitjean/DBA/blob/master/DBA.py) seem to differ. I've attached graphs that illustrate the discrepancies. I've used the exact same data for both implementations.
I'm unsure whether this is due to a bug in the tslearn code or if I might have missed some modification that's required for the tslearn implementation. Could someone help me investigate this issue, please?
Thank you.

I've been trying to use the average DBA function provided by tslearn to compute the average of a set of time series. However, I've noticed that the results obtained with tslearn's implementation and with the original DBA.py module by Francois Petitjean (https://github.com/fpetitjean/DBA/blob/master/DBA.py) seem to differ. I've attached graphs that illustrate the discrepancies. I've used the exact same data for both implementations.
I'm unsure whether this is due to a bug in the tslearn code or if I might have missed some modification that's required for the tslearn implementation. Could someone help me investigate this issue, please?

Thank you.