title: How to use apache's DBSCANClusterer
body: <p>I have a distance matrix as mentioned in the question here :</p>
  
  <p><a href="https://stackoverflow.com/questions/3725170/clustering-with-a-distance-matrix">Clustering with a distance matrix</a></p>
  
  <p>Now, I would like to perform DBSCAN on this matrix using the the DBSCANclusterer.java class from apache. </p>
  
  <p>The method 'cluster' takes as input, a collection of points. What is the format of these points?</p>
  
  <p>Referring to the above matrix, what Do i add to the collection parameter?</p>
  
  <p>Can someone please paste a code snippet? I would like to specify the distance as :</p>
  
  <p>A,B : 20
  A,C : 20 
  .
  .
  .</p>
  
  <p>And then when I am done with the clustering, similar samples should be clustered together.</p>