avatar
怎么拟合这样的曲线# Computation - 科学计算
c*u
1
我有一组实验数据,
y = y_high, if x > thr
y = y_low, if x < thr
y_high, y_low, thr 是未知的常数,thr是所需要得到的东西.好像3D bruteforce
search 寻找最低点不是很有效率.
举个通俗的例子,假设x是温度,y是水的体积,那么Thr是熔点.但是实验数据中
y的测量有很大noise, 所以必须拟合.
谢谢,
avatar
s*t
2
maybe statistical classification is a better method.

【在 c*u 的大作中提到】
: 我有一组实验数据,
: y = y_high, if x > thr
: y = y_low, if x < thr
: y_high, y_low, thr 是未知的常数,thr是所需要得到的东西.好像3D bruteforce
: search 寻找最低点不是很有效率.
: 举个通俗的例子,假设x是温度,y是水的体积,那么Thr是熔点.但是实验数据中
: y的测量有很大noise, 所以必须拟合.
: 谢谢,

avatar
c*u
3
Which statistical method do you mean?
I just did a try. It looks like iteration works pretty well. Just need make
a guess of y_high and y_low, find the best thr. Then set y_high, y_low as
the mean values for xthr, find the thr again. Repeat the
iterations until converge. Only takes 2-5 iterations to converge.
Calculation
time is O(n) instead of O(n^3). For my data, it seems the fitting rarely
stuck in local maxima.
Sorry for the dumb question.

【在 s***t 的大作中提到】
: maybe statistical classification is a better method.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。