datacamp / datacamp/rdocumentation-2.0

What algorithm is used to calculate distance between points by default ?

Open
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
301
Forks
54
Avg merge
16h 19m
Merged PRs (30d)
1

Description

Hello,

I have read the doc https://www.rdocumentation.org/packages/mclust/versions/6.1/topics/hc
and I am still wondering, in a default call for hc() like so:
learned_structure <- hc(imputed_df, score = "pnal")
or even simpler like so:
learned_structure <- hc(imputed_df)

what is used by default to create the cluster and find the distance between points?
is it the Euclidian distance? the Manhattan distance? the maximum distance? or something else ??

kind regards,
BM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked mclust hc() documentation and compare its stated defaults with the behavior of the example calls in the issue. Verify how the default clustering and distance settings are described, then update the relevant RDocumentation entry so the default is explicit and easy to find.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.