td-naive-bayes

Build and deploy Naive Bayes models using Teradata ClearScape Analytics TD_NaiveBayes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of building and deploying a Naive Bayes classification model directly within Teradata, enabling accurate probabilistic predictions from your data.

Core Features & Use Cases

  • End-to-End Workflow: Handles data preprocessing, model training, prediction, and evaluation.
  • Probabilistic Classification: Leverages the TD_NaiveBayes function for robust classification.
  • Use Case: Predict customer churn based on historical behavior data, identify fraudulent transactions, or classify text documents into categories.

Quick Start

Analyze table: my_database.customer_data with target column: churn_flag.

Frequently Asked Questions about td-naive-bayes

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

FAQPage Schema
How do I build a Naive Bayes classification model in Teradata?

To build a Naive Bayes classification model in Teradata, this Skill automates data preprocessing, model training, and prediction generation using the TD_NaiveBayes function. You simply provide your tabular data table and target column to generate probabilistic predictions.

What is Naive Bayes predictive modeling used for in data analytics?

Naive Bayes predictive modeling is used for probabilistic classification to predict outcomes like customer churn or fraudulent transactions. This Skill leverages the TD_NaiveBayes function to apply robust classification directly to your tabular data.

Can I use TD_NaiveBayes for customer churn prediction with historical behavior data?

Yes, you can use TD_NaiveBayes for customer churn prediction by analyzing historical behavior data. The Skill automates feature engineering and model training to accurately classify churn outcomes directly within your Teradata database.

Does this Teradata Naive Bayes Skill handle data preprocessing and model validation?

Yes, this Teradata Naive Bayes Skill handles complete analytical workflows including data preprocessing, feature engineering, model training, prediction, and model validation. It provides comprehensive SQL scripts and best practices for the entire process.

What are the limitations of using Naive Bayes classification for predictive modeling?

Naive Bayes classification assumes feature independence, which can limit accuracy on highly correlated tabular data. However, it remains a robust probabilistic method for predictive modeling when you need fast, scalable classification directly within Teradata ClearScape Analytics.

What's the best way to classify text documents or detect fraud using Teradata ClearScape Analytics?

The best way to classify text documents or detect fraud using Teradata ClearScape Analytics is deploying the TD_NaiveBayes function. This Skill automates the end-to-end workflow from data exploration to model validation for accurate probabilistic predictions.