2012-01-25 16 views

risposta

1

Probabilmente, lo strumento numpy.piecewise() di Numpy può essere utilizzato.
Una descrizione più dettagliata è mostrata qui: How to apply piecewise linear fit in Python?

Se questo non è ciò che è necessario, allora si può probabilmente trovare alcune informazioni utili in queste domande: https://datascience.stackexchange.com/questions/8266/is-there-a-library-that-would-perform-segmented-linear-regression-in-python

e qui:
https://datascience.stackexchange.com/questions/8457/python-library-for-segmented-regression-a-k-a-piecewise-regression

Problemi correlati