Wolfram Language

Apprentissage automatique amélioré

Groupez les éruptions de geyser

Visualisez les propriétés des éruptions du geyser Old Faithful.

In[1]:=
Click for copyable input
eruptions = ExampleData[{"Statistics", "OldFaithful"}]; ListPlot[eruptions, FrameLabel -> {"Eruption time in minutes", "Waiting time to next eruption in minutes"}, Frame -> True]
Out[1]=

Calculez un classifieur qui sépare les éruptions.

In[2]:=
Click for copyable input
c = ClusterClassify[eruptions]
Out[2]=

Visualisez le groupement.

In[3]:=
Click for copyable input
clusters = GatherBy[eruptions, c]; ListPlot[clusters, FrameLabel -> {"Eruption time in minutes", "Waiting time to next eruption in minutes"}, Frame -> True]
Out[3]=

Exemples connexes

de en es ja ko pt-br ru zh