td-hierarchical-clustering

Perform hierarchical clustering on Teradata Vantage with SQL generation.

7|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-hierarchical-clustering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: td-hierarchical-clustering
Source: https://github.com/teradata-labs/claude-cookbooks/tree/main/skills/analytics/td-hierarchical-clustering
Command: npx skills add https://github.com/teradata-labs/claude-cookbooks --skill td-hierarchical-clustering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and resources (resource) components.

What problem does it solve?

This Skill automates the process of performing hierarchical clustering on Teradata data, simplifying complex data grouping and pattern identification.

Core Features & Use Cases

  • Automated Data Analysis: Analyzes table structure, identifies data types, and recommends feature engineering.
  • SQL Workflow Generation: Dynamically creates optimized SQL scripts for the TD_HierarchicalClustering function.
  • Use Case: Segmenting customers into distinct groups based on their purchasing behavior to tailor marketing strategies.

Quick Start

Analyze table: my_teradata_database.customer_data with target column: segment_id.

Frequently Asked Questions about td-hierarchical-clustering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform hierarchical clustering on Teradata Vantage?

Automated hierarchical clustering on Teradata Vantage uses the TD_HierarchicalClustering function to group nested data. This process automates data preprocessing, SQL script generation, and model evaluation to identify patterns.

What is hierarchical clustering used for in data analysis?

Hierarchical clustering builds nested groupings to create dendrograms and taxonomies from complex data. It identifies structural patterns, enabling use cases like segmenting customers based on purchasing behavior.

Do I need ClearScape Analytics enabled to run TD_HierarchicalClustering?

Running TD_HierarchicalClustering requires Teradata Vantage with ClearScape Analytics enabled and appropriate database permissions. These prerequisites ensure the SQL scripts execute successfully.

Can I automate SQL generation for customer segmentation in Teradata?

Automating SQL generation for customer segmentation in Teradata analyzes table structures and recommends feature engineering. It dynamically creates optimized SQL scripts for the TD_HierarchicalClustering function.

What's the best way to build a taxonomy from Teradata data?

Building a taxonomy from Teradata data relies on hierarchical clustering to group nested structures systematically. This method organizes complex datasets into distinct categories through automated feature engineering.