将两个分段函数拟合到 Python 中的数据
我有一个 pandas 数据框,当我绘制它时,它看起来像红线。我需要拟合两个分段函数来近似并获取 k、a 和 b 的值。如果 x <=15,则拟合绿线(0 的右侧),如果 x >=15,则拟合绿线(0 的右侧)。 15、拟合右边的蓝色曲线。
I have a pandas dataframe that looks like the red line when I plot it. I need to fit two piecewise functions to approximate and get values of k, a, and b. If x <=15, fit the green line (right side of 0) and if x > 15, fit the right blue curve.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论