Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book Errata - Page 52 #1

Open
neversatisfied opened this issue Aug 30, 2017 · 2 comments
Open

Book Errata - Page 52 #1

neversatisfied opened this issue Aug 30, 2017 · 2 comments

Comments

@neversatisfied
Copy link

The command shown has -m set to 2 and above the paragraph states you will set M to 5 . Not super important, but thought you might wish to be aware.

errata_01

@ghost
Copy link

ghost commented Sep 6, 2017

Oh thanks! Good catch

@cpuodzius
Copy link

Following this segment, I get different results than those indicated in the text.

  • Eps = 0.5, MinPts = 2
$ python2 cluster_vectors.py -c dbscan -e 0.5 -m 2 -i secrepo.h5 -o secrepo_dbscan.h2
Label 0 has 9994 samples
Label 1 has 2 samples
Label 2 has 4 samples

The results in the text:

“As we can see, DBSCAN has created 62 clusters and left 854 samples unassigned. Each of these 854 noise points may be associated with malicious activity.”

  • Eps = 6, MinPts = 5
$ python2 cluster_vectors.py -c dbscan -e 6 -m 5 -i secrepo.h5 -o secrepo_dbscan.h2
Label 0 has 10000 samples

The results in the text:

“This time, DBSCAN generated 11 clusters and only 25 noise points, a much more manageable number. ”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants