Wolfram言語

向上した機械学習の機能

気温変化に適合する式を求める

過去10年間のローマの気温データをロードする.

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

この時系列についての簡単な式を求める.

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

式とデータを比較する.

完全なWolfram言語入力を表示する
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]=

関連する例

de en es fr ko pt-br ru zh