6
python中有没有库可以做segmented linear regression? 我想自动将多行代码粘贴到我的数据中,以得到如下样式的内容: python中的分段线性回归
Btw。我知道细分的数量。
python中有没有库可以做segmented linear regression? 我想自动将多行代码粘贴到我的数据中,以得到如下样式的内容: python中的分段线性回归
Btw。我知道细分的数量。
也许,可以使用Numpy的numpy.piecewise()
工具。
更详细的描述如下所示: How to apply piecewise linear fit in Python?
如果这不是需要什么,然后你可以或许找到这些问题的一些有用的信息: https://datascience.stackexchange.com/questions/8266/is-there-a-library-that-would-perform-segmented-linear-regression-in-python
这里:
https://datascience.stackexchange.com/questions/8457/python-library-for-segmented-regression-a-k-a-piecewise-regression
可能的复制[如何在Python中应用分段线性拟合?](https://stackoverflow.com/questions/29382903/how-to-apply-piecewise-linear-fit-in-python) – christopherlovell