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

Distance metric for hier_clust in tidyclust #70

Open
JauntyJJS opened this issue Aug 17, 2022 · 1 comment
Open

Distance metric for hier_clust in tidyclust #70

JauntyJJS opened this issue Aug 17, 2022 · 1 comment
Labels
feature a feature request or enhancement

Comments

@JauntyJJS
Copy link

JauntyJJS commented Aug 17, 2022

Hi,

I was reading the documentation of hier_clust and realise that it was using stats::hclust as the engine.

From my understanding, the input to stats::hclust requires to be a distance matrix produced by dist.
Can I assume that the Euclidean distance is used by default ?

If possible, are there any plans for the function hier_clust to accept other distance metric like "manhattan", "minkowski", "pearson" or "jaccard" ?

@EmilHvitfeldt EmilHvitfeldt added the feature a feature request or enhancement label Aug 30, 2022
@EmilHvitfeldt
Copy link
Member

Hello @JauntyJJS 👋

That is a good idea, will be look into making that possible

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

No branches or pull requests

2 participants