作者nomoyang (恩)
看板Python
標題[問題] 關於科學計算 --- 擬合 (fit)
時間Thu Dec 31 08:59:55 2015
大家好,請教大家常用的科學計算模組有那些呢?
我的需求:
擬合函數 :y = a*x + b
提供的觀測值:x、y (x與y都各自有誤差值)
欲利用擬合找出來的值:
1、參數值 a、b
2、a與b的誤差值
3、chi square χ2 (或 reduced chi square)
謝謝大家 ^^
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.72.59.109
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Python/M.1451523598.A.CDB.html
1F:→ ccwang002: statsmodel 12/31 09:43
2F:→ ccwang002: 誤差值是…變異數?多次量測? 12/31 09:43
3F:推 SocketAM2: scipy numpy 12/31 10:09
4F:推 tn00364361: 如果x跟y都有雜訊的話,可以用numpy做total least squ 12/31 13:56
5F:→ tn00364361: ares 12/31 13:56
6F:推 htc812: sklearn應該有現成函數,想練功可以自己用numpy刻出來XD 12/31 14:40
7F:→ htc812: 懂線代的話這應該不會太難 12/31 14:40
9F:→ Thisisnotptt: html#id1 12/31 20:14
10F:→ Thisisnotptt: 兩行,懶得縮,這本書我覺得不錯,這是作者的放的 12/31 20:15
11F:→ Thisisnotptt: 網路版,內容不錯,可以參考 12/31 20:15
12F:→ nomoyang: 謝謝以上各位的講解 ^^ 01/01 09:07