title: DBSCAN on spark : which implementation
body: <p>I would like to do some DBSCAN on Spark. I have currently found 2 implementations:</p>
  
  <ul>
  <li><a href="https://github.com/irvingc/dbscan-on-spark" rel="noreferrer">https://github.com/irvingc/dbscan-on-spark</a></li>
  <li><a href="https://github.com/alitouka/spark_dbscan" rel="noreferrer">https://github.com/alitouka/spark_dbscan</a></li>
  </ul>
  
  <p>I have tested the first one with the sbt configuration given in its github but: </p>
  
  <ul>
  <li><p>functions in the jar are not the same as those in the doc or in the source on github. For example, I cannot find the <em>train</em> function in the jar</p></li>
  <li><p>I manage to run a test with the <em>fit</em> function (found in the jar) but a bad configuration of epsilon (a little to big) put the code in an infinite loop.</p></li>
  </ul>
  
  <p>code : </p>
  
  <pre><code>val model = DBSCAN.fit(eps, minPoints, values, parallelism)
  </code></pre>
  
  <p>Has someone managed to do someting with the first library?</p>
  
  <p>Has someone tested the second one?</p>