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

mertric about ASW #392

Open
BillyChen123 opened this issue Dec 8, 2023 · 0 comments
Open

mertric about ASW #392

BillyChen123 opened this issue Dec 8, 2023 · 0 comments

Comments

@BillyChen123
Copy link

I have some question about ASW.
In the definition of silhouette_batch, you say that :

        sil = [abs(i) for i in sil]

        if scale:
            # scale s.t. highest number is optimal
            sil = [1 - i for i in sil]

I can not understand why need to take absolute value and why the result of 1-sil is the higher the better?

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

1 participant