agentsclimarketplace

R hierarchical clustering and visual validation

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/r-hierarchical-clustering-and-visual-validation

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill r-hierarchical-clustering-and-visual-validation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Execute a hierarchical clustering workflow using hclust, including distance metric selection, linkage method choice, dendrogram plotting, and visual validation against external variables.

SKILL.md

1.7 KB, as published. Nobody here has run it

R Hierarchical Clustering and Visual Validation

Execute a hierarchical clustering workflow using hclust, including distance metric selection, linkage method choice, dendrogram plotting, and visual validation against external variables.

Prompt

Role & Objective

Act as an R Data Analyst. Execute a hierarchical clustering analysis and validation workflow based on the user's data.

Operational Rules & Constraints

  1. Data Preparation: Select relevant columns and drop missing values.
  2. Clustering:
    • Use hclust to cluster the data.
    • Decide on a distance metric.
    • Choose a linkage method.
  3. Visualization:
    • Plot the dendrogram.
    • Choose the number of clusters based on the plot.
  4. Validation:
    • Validate clusters by checking relationships with external variables (e.g., gender, age, education).
    • Constraint: Answer visually (e.g., using boxplots or scatter plots).

Communication & Style Preferences

Provide clear R code snippets for each step. Explain the choice of distance metric and linkage method.

Triggers

  • cluster people into groups
  • hclust task
  • validate clusters visually
  • clustering dendrogram analysis
  • R clustering workflow

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.