td-regression-evaluator

Evaluate regression models with Teradata's TD_RegressionEvaluator for R², RMSE, MAE, MSE, and MAPE.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive suite for evaluating regression models, automating the process of calculating key metrics and analyzing model performance to ensure accuracy and reliability.

Core Features & Use Cases

  • Automated Metric Calculation: Leverages TD_RegressionEvaluator to compute R², RMSE, MAE, MSE, and MAPE.
  • Data Quality Checks: Includes pre-evaluation checks for completeness, duplicates, and outliers.
  • Diagnostic Analysis: Offers detailed residual analysis and error pattern identification.
  • Use Case: After training a customer churn prediction model, use this Skill to evaluate its performance on a test dataset, identify areas of weakness, and compare it against baseline models.

Quick Start

Evaluate the regression model using the table 'my_predictions' with actual values in 'actual_sales' and predicted values in 'predicted_sales'.

Frequently Asked Questions about td-regression-evaluator

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

FAQPage Schema
How do I calculate R², RMSE, and MAE for a regression model in Teradata Vantage?▼

You can calculate regression metrics like R², RMSE, and MAE by applying the TD_RegressionEvaluator function to your prediction table to automate performance diagnostics directly within the database.

What is the best way to automate residual analysis for a predictive model?▼

Automating residual analysis involves running model evaluation functions that identify error patterns and compute performance metrics, ensuring accuracy and reliability for production-ready analytics.

Do I need ClearScape Analytics enabled to run model performance diagnostics?▼

Yes, you need Teradata Vantage with ClearScape Analytics enabled and appropriate database permissions to execute the TD_RegressionEvaluator function for calculating regression metrics.

Can I run data quality checks before evaluating regression models?▼

Yes, the evaluation process includes pre-evaluation data quality checks for completeness, duplicates, and outliers before calculating final metrics like MSE and MAPE on your prediction dataset.

How do I evaluate a customer churn prediction model on a test dataset?▼

To evaluate a churn prediction model, apply the regression evaluator to your test dataset containing actual and predicted values to identify performance weaknesses and compare against baseline models.

Why does my regression model evaluation require specific database permissions?▼

Regression model evaluation requires specific database permissions because the process leverages Teradata's TD_RegressionEvaluator function within ClearScape Analytics to securely compute metrics and automate diagnostics.