Skip to content

Fix error in silhouette calculation - #2

Open
cra wants to merge 1 commit into
PacktPublishing:masterfrom
cra:patch-2
Open

Fix error in silhouette calculation#2
cra wants to merge 1 commit into
PacktPublishing:masterfrom
cra:patch-2

Conversation

@cra

@cra cra commented Apr 13, 2018

Copy link
Copy Markdown

According to the book, it's (b-a)/max(a, b), but without else statement it would be added twice when a > b

This also slightly changes the resulting value for this example, but not much (0.508 becomes 0.517)

According to the book, it's (b-a)/max(a, b), but without else statement it would be added twice when a > b

This also slightly changes the resulting value for this example, but not much (0.508 becomes 0.517)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant