Cluster Geyser Eruptions
Visualize properties of eruptions of the Old Faithful geyser.
In[1]:=
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]:=
c = ClusterClassify[eruptions]
Out[2]=
Visualize the clusters.
In[3]:=
clusters = GatherBy[eruptions, c];
ListPlot[clusters,
FrameLabel -> {"Eruption time in minutes",
"Waiting time to next eruption in minutes"}, Frame -> True]
Out[3]=