td-linear-regression

Build and deploy linear regression models with Teradata ClearScape Analytics TD_LinearRegression.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of building and deploying linear regression models directly within Teradata Vantage, enabling accurate prediction of continuous target variables.

Core Features & Use Cases

  • End-to-End Workflow: Handles data analysis, preprocessing, model training, prediction, and evaluation.
  • Automated SQL Generation: Generates optimized SQL scripts tailored to your data schema.
  • Use Case: Predict future sales figures based on historical data, forecast customer lifetime value, or estimate the impact of marketing spend on revenue.

Quick Start

Analyze table: sales_data with target column: revenue.

Frequently Asked Questions about td-linear-regression

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

FAQPage Schema
How do I build a linear regression model in Teradata Vantage for continuous value prediction?

Linear regression in Teradata Vantage automates preprocessing, feature engineering, training, and evaluation using ClearScape Analytics TD_LinearRegression. It generates optimized SQL scripts directly within the database for accurate continuous target prediction.

Can I forecast sales figures using SQL analytics without moving data out of Teradata?

Yes, you can forecast sales using SQL analytics directly within Teradata Vantage. The workflow automates model training and prediction on local database tables, generating optimized SQL to estimate continuous target variables like revenue without external data movement.

What is the best way to automate predictive modeling and SQL generation for trend analysis?

The best way to automate predictive modeling for trend analysis is using a workflow that handles data preparation, model training, and evaluation natively. It generates production-ready SQL scripts with robust error handling directly within Teradata Vantage.

Does Teradata ClearScape Analytics support end-to-end linear regression workflows?

Yes, Teradata ClearScape Analytics supports end-to-end linear regression workflows. It handles data analysis, automated feature engineering, model training, continuous prediction, and model evaluation entirely within the database using optimized SQL generation.

How do I evaluate a linear regression model deployed inside Teradata Vantage?

To evaluate a linear regression model in Teradata Vantage, use the automated evaluation step within the workflow. This assesses the model's predictive accuracy on continuous target variables and provides performance metrics alongside robust error handling.