Cluster a Bivariate Dataset

    
Get data on the duration of Old Faithful eruptions and construct a distribution based on it:
In[117]:=
Click for copyable input
Simulate eruptions based on this distribution:
In[119]:=
Click for copyable input
Use FindClusters to split the data:
In[135]:=
Click for copyable input
Out[135]=
Now make a 3D visualization:
In[162]:=
Click for copyable input
Out[162]=
New to Mathematica? Find your learning path »
Have a question? Ask support »