td-logistic-regression

Build and deploy logistic regression models using Teradata's TD_LogisticRegression function.

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

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 logistic regression models within Teradata, enabling users to predict binary or multinomial outcomes from their data without extensive manual SQL coding.

Core Features & Use Cases

  • End-to-End Workflow: Manages data preprocessing, model training, prediction, and evaluation.
  • Automated SQL Generation: Creates optimized SQL scripts for Teradata Vantage.
  • Use Case: Predict customer churn based on historical behavior data stored in a Teradata table.

Quick Start

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

Frequently Asked Questions about td-logistic-regression

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

FAQPage Schema
How do I build a logistic regression model in Teradata Vantage?

You can build a logistic regression model in Teradata Vantage by using the TD_LogisticRegression function, which automates SQL generation for model training, data preprocessing, and prediction on your target tables.

Can I predict customer churn using SQL analytics in Teradata?

Yes, you can predict customer churn using Teradata SQL analytics by applying logistic regression to historical behavior data stored in a Teradata table to generate predictive outcomes.

Does Teradata logistic regression support multinomial classification tasks?

Teradata logistic regression supports both binary and multinomial classification tasks, allowing you to predict outcomes with multiple categories using the TD_LogisticRegression SQL function.

What is the best way to automate feature engineering for predictive modeling in Teradata?

Automating feature engineering for predictive modeling in Teradata is handled through the logistic regression workflow, which manages data preprocessing and feature preparation to generate optimized SQL scripts.

Do I need manual SQL coding to evaluate logistic regression models in Teradata?

You do not need manual SQL coding to evaluate logistic regression models in Teradata, as the workflow automates comprehensive model evaluation and generates production-ready SQL scripts internally.

What are the limitations of using TD_LogisticRegression for machine learning?

TD_LogisticRegression is limited to classification tasks within the Teradata Vantage environment, meaning it requires your data to reside in Teradata tables and does not support external predictive modeling workflows.