Attēls:Linear regression.svg

No ''testwiki''
Pāriet uz navigāciju Pāriet uz meklēšanu
Sākotnējais fails (SVG fails, definētais izmērs 438 × 289 pikseļi, faila izmērs: 71 KB)

Fails ir no Wikimedia Commons, tāpēc tas var tikt izmantots citos projektos. Apraksts ir faila apraksta lapā, kas ir parādīta zemāk.

Kopsavilkums

Apraksts
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')
Datums
Avots Paša darbs
Autors Sewaqu
Citas versijas Derivative works of this file:  Sedm zakladnich nastroju zlepsovani kvality cz.svg
SVG veidošana
InfoField
 This image was created with SageMath.
 and with Inkscape.

Licence

Public domain This work has been released into the public domain by its author, Sewaqu. This applies worldwide.
In some countries this may not be legally possible; if so:
Sewaqu grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Pievieno vienas rindiņas aprakstu, ko šis fails attēlo
A straight line with y-intercept 5 fitted to datapoints

Šajā failā attēlotais

attēlo

5 novembris 2010

image/svg+xml

Faila hronoloģija

Uzklikšķini uz datums/laiks kolonnā esošās saites, lai apskatītos, kā šis fails izskatījās tad.

Datums/LaiksAttēlsIzmēriDalībnieksKomentārs
tagadējais2016. gada 31. marts, plkst. 11.422016. gada 31. marts, plkst. 11.42 versijas sīktēls438 × 289 (71 KB)wikimediacommons>RaphaelQStransparent background

Šo failu izmanto šajā 1 lapā: