2012-01-25 25 views

Respuesta

1

Probablemente, la herramienta de Numpy numpy.piecewise() se puede utilizar.
Una descripción más detallada se muestra aquí: How to apply piecewise linear fit in Python?

Si esto no es lo que se necesita, entonces probablemente puede encontrar información útil en estas preguntas: https://datascience.stackexchange.com/questions/8266/is-there-a-library-that-would-perform-segmented-linear-regression-in-python

y aquí:
https://datascience.stackexchange.com/questions/8457/python-library-for-segmented-regression-a-k-a-piecewise-regression

Cuestiones relacionadas