跳至內容

File:Linear regression.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書
    原始檔案 (SVG 檔案,表面大小:438 × 289 像素,檔案大小:71 KB)


    摘要

    描述
    Français : Un nuage de points (en bleu) peut être modélisé par une droite de régression (en rouge).
    English: Random data points and their linear regression. Created with the following Sage (http://sagemath.org) commands:
    X = RealDistribution('uniform', [-20, 60])
    
    Y = RealDistribution('gaussian', 1.5)
    
    f(x) = 3*x/20 + 5
    
    xvals = [X.get_random_element() for _ in range(100)]
    
    data = [(x, f(x) + Y.get_random_element()) for x in xvals]
    
    m, b = var('m b')
    
    g(x) = m*x + b
    
    g(x) = g(x).subs(find_fit(data, g, solution_dict=True))
    
    p = list_plot(data) + plot(g, (x, -20, 60), color='red')
    
    p.save('linear_regression.svg')
    
    日期
    來源 自己的作品
    作者 Sewaqu
    其他版本 Derivative works of this file:  Sedm zakladnich nastroju zlepsovani kvality cz.svg: 
    SVG開發
    InfoField
     本圖形使用Sagemath創作。
     以及使用 Inkscape.

    授權條款

    Public domain 此作品已由其作者,Sewaqu,釋出至公有領域。此授權條款在全世界均適用。
    這可能在某些國家不合法,如果是的話:
    Sewaqu授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。

    說明

    添加單行說明來描述出檔案所代表的內容
    A straight line with y-intercept 5 fitted to datapoints. A scatter plot (blue) can be rendered as a linear regression (red).

    在此檔案描寫的項目

    描繪內容

    創作作者 中文 (香港) (已轉換拼寫)

    沒有維基數據項目的某些值

    作者姓名字串 中文 (香港) (已轉換拼寫):Sewaqu
    維基媒體使用者名稱 繁體中文 (已轉換拼寫):Sewaqu

    版權狀態 中文 (香港) (已轉換拼寫)

    檔案來源 中文 (臺灣) (已轉換拼寫)

    上傳者的原創作品 繁體中文 (已轉換拼寫)

    多媒體型式 繁體中文 (已轉換拼寫)

    image/svg+xml

    檔案歷史

    點選某个日期/時間檢視對應時刻的檔案。

    日期/時間縮⁠圖大小用戶備⁠註
    目前2016年3月31日 (四) 10:42於 2016年3月31日 (四) 10:42 版本的縮圖438 × 289​(71 KB)RaphaelQStransparent background
    2010年11月5日 (五) 03:18於 2010年11月5日 (五) 03:18 版本的縮圖438 × 289​(42 KB)Sewaqu{{Information |Description={{en|1=Random data points and their linear regression. Created with the following Sage (http://sagemath.org) commands: X = RealDistribution('uniform', [-20, 60]) Y = RealDistribution('gaussian', 1.5) f(x) = 3*x/20 + 5 xvals

    全域檔案使用狀況

    以下其他wiki使用了這個檔案:

    檢視此檔案的更多全域使用狀況。

    詮釋資料