Wolfram Language

Improved Machine Learning

Cluster Geyser Eruptions

Visualize properties of eruptions of the Old Faithful geyser.

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]=

Compute a classifier that partitions eruptions.

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

Visualize the clusters.

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]=

Related Examples

de es fr ja ko pt-br ru zh