Permalink
Browse files

MISC don't use fit parameters in example

  • Loading branch information...
1 parent 1ebcc4a commit a2c3112dccc76107be6eb6b2b3b40d2d7bb9b10b @amueller amueller committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/cluster/plot_dbscan.py
@@ -28,7 +28,7 @@
##############################################################################
# Compute DBSCAN
-db = DBSCAN().fit(S, eps=0.95, min_samples=10)
+db = DBSCAN(eps=0.95, min_samples=10).fit(S)
core_samples = db.core_sample_indices_
labels = db.labels_

0 comments on commit a2c3112

Please sign in to comment.