[
https://issues.apache.org/jira/browse/MAHOUT-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149469#comment-16149469
]
ASF GitHub Bot commented on MAHOUT-1991:
----------------------------------------
Github user andrewpalumbo commented on a diff in the pull request:
https://github.com/apache/mahout/pull/334#discussion_r136427426
--- Diff:
math-scala/src/test/scala/org/apache/mahout/math/algorithms/ClusteringSuiteBase.scala
---
@@ -45,4 +48,17 @@ trait ClusteringSuiteBase extends DistributedMahoutSuite
with Matchers {
val epsilon = 1E-6
(myAnswer.norm - correctAnswer.norm) should be <= epsilon
}
+
+ test("inCore DBSCAN test") {
+// import org.apache.mahout.math.algorithms.clustering._
+//
+// val dm = DistanceMetricSelector.namedMetricLookup('Euclidean)
+//// val url: URL = getClass().getResource("./data21.txt")
+// //TO DO //Need help
--- End diff --
I apologize @AdityaAS I'd not noticed that this `.txt` file wasthis short-
No need to move to `$MAHOUT_HOME/examples/bin/resources` for Unit test input.
FYI though if you write an example for this to be placed in `examples`, that's
where you would place `.txt` files or any other resources.
> Implement naive DBSCAN Algorithm - O(n^2) complexity
> ----------------------------------------------------
>
> Key: MAHOUT-1991
> URL: https://issues.apache.org/jira/browse/MAHOUT-1991
> Project: Mahout
> Issue Type: New Feature
> Components: Algorithms
> Reporter: Aditya AS
> Assignee: Aditya AS
>
> Implement the naive DBSCAN algorithm in Mahout Samsara, as part of the
> Algorithms Framework.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)