td-tfidf

Generate TF-IDF scores and features from Teradata text data using TD_TFIDF.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of analyzing text data within Teradata, enabling you to extract meaningful insights and features for various text analytics tasks.

Core Features & Use Cases

  • Term Frequency-Inverse Document Frequency (TF-IDF): Computes TF-IDF scores to identify important terms in documents.
  • Text Analytics Workflow: Provides a complete workflow from data preprocessing to feature extraction using Teradata's TD_TFIDF function.
  • Use Case: Analyze customer reviews to identify key themes and sentiments, or extract features from documents for classification models.

Quick Start

Analyze the table named 'customer_feedback' to extract text features using TD_TFIDF.

Frequently Asked Questions about td-tfidf

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

FAQPage Schema
How do I calculate TF-IDF scores for text data stored in Teradata?

You can calculate TF-IDF scores directly in Teradata by using the TD_TFIDF function to identify important terms in documents for text mining and feature extraction.

What is TF-IDF analysis used for in natural language processing?

TF-IDF analysis identifies important terms in documents by computing Term Frequency-Inverse Document Frequency scores, which are used for text mining, document similarity, and feature extraction tasks.

Do I need Teradata ClearScape Analytics to perform text analytics on my database?

Yes, performing text analytics and generating TF-IDF features requires Teradata Vantage with ClearScape Analytics and access to the built-in TD_TFIDF function.

How do I extract features from customer reviews for text classification models?

Extract features from customer reviews by applying the TD_TFIDF function in Teradata to generate scores that identify key themes and sentiments for classification models.

What's the best way to identify key themes in customer feedback stored in a database?

The best way to identify key themes in customer feedback is to run Term Frequency-Inverse Document Frequency analysis using Teradata's TD_TFIDF function directly on the database table.

Can I use this TD_TFIDF function without writing custom data preprocessing scripts?

The TD_TFIDF function provides a complete text analytics workflow from data preprocessing to feature extraction, allowing you to generate text mining features directly within Teradata.