Wolfram Language

Aprendizagem automática

Encontre uma fórmula que se ajuste a variações de temperatura

Carregue as temperaturas em Roma durante os últimos 10 anos.

In[1]:=
Click for copyable input
wd = WeatherData["Rome", "Temperature", {{2006, 1, 1}, {2016, 1, 1}, "Month"}]
Out[1]=

Ache uma fórmula simples para esta série temporal.

In[2]:=
Click for copyable input
fit = FindFormula[wd, x]
Out[2]=

Compare a fórmula e os dados.

mostre o input completo da Wolfram Language
In[3]:=
Click for copyable input
Show[Plot[fit, {x, 3.5*10^9 , 3.71*10^9}, PlotStyle -> Lighter[Red, .5], PlotLegends -> {"Formula"}, Frame -> True, FrameLabel -> {"Absolute Time", "Temperature"}], ListPlot[wd, PlotLegends -> {"Data"}]]
Out[3]=

Exemplos Relacionados

de en es fr ja ko ru zh