Result Storage: Generates CREATE TABLE AS patterns for persisting results
How to Use This Skill
Provide Your Time Series Data:
"Analyze time series table: database.sensor_data with timestamp column and value columns"
The Skill Will:
Analyze temporal structure and sampling frequency
Identify optimal function parameters
Generate complete ChangePointDetection workflow
Provide performance optimization recommendations
Input Requirements
Data Requirements
Time series table: Teradata table with temporal data
Time column: Time/date column for ORDER BY
Value column: Numeric column to analyze for change points
Series ID column: Column to PARTITION BY (grouping key for parallel processing)
Technical Requirements
Teradata Vantage with Machine Learning Engine (MLE) enabled
MLE License: Access to analytic table operators
Database permissions: CREATE, DROP, SELECT on working database
Function access: ChangePointDetection
Output Formats
Generated Results
Change point locations with timestamps
Segment boundaries identifying structural breaks
Statistical metrics for each detected change point
Diagnostic information for result validation
SQL Scripts
Complete MLE workflows ready for execution
Parameterized queries optimized for your data structure
Result tables with proper schema for downstream analysis
Time Series Analysis Use Cases Supported
Structural break detection: Identify regime changes in time series
Change point analysis: Detect shifts in statistical properties
Regime changes: Find transitions between different data-generating processes
Anomaly detection: Locate abrupt changes in sensor or financial data
Key Parameters for ChangePointDetection
TargetColumn: The numeric column to analyze for change points
SegmentationMethod: Statistical model for segments (e.g., 'normal_distribution')
SearchMethod: Algorithm for finding change points ('binary' or 'linear')
MaxChangeNum: Maximum number of change points to detect
Penalty: Information criterion for model selection ('BIC', 'AIC', etc.)
OutputOption: Type of output ('changepoint', 'segment', 'verbose')
MLE Best Practices Applied
PARTITION BY optimization for parallel processing across series
ORDER BY with proper temporal column for time series ordering
Parameter tuning specific to ChangePointDetection
Result persistence using CREATE TABLE AS patterns
Error handling for MLE-specific scenarios
Scalability considerations for production workloads
Example Usage
-- Example ChangePointDetection workflow
-- Replace parameters with your specific requirements
-- 1. Execute ChangePointDetection
SELECT * FROM ChangePointDetection (
ON your_database.your_timeseries_table AS InputTable
PARTITION BY series_id
ORDER BY timestamp_col
USING
TargetColumn('value_col')
SegmentationMethod('normal_distribution')
SearchMethod('binary')
MaxChangeNum(10)
Penalty('BIC')
OutputOption('changepoint')
) AS dt;
Scripts Included
Core MLE Scripts
mle_data_preparation.sql: Data preparation for MLE processing
Best practices: Updated with Teradata community recommendations
Documentation: Maintained with latest MLE features
This skill provides production-ready time series change point detection using Teradata's Machine Learning Engine ChangePointDetection function with industry best practices for scalable analytics.
1---2name: td-change-point3description: Change point detection in time series for structural breaks4---56# Teradata Change Point Detection78| **Skill Name** | Teradata Change Point Detection |9|----------------|--------------|10| **Description** | Change point detection in time series for structural breaks |11| **Category** | Time Series Analysis |12| **Function** | ChangePointDetection |13| **Framework** | Teradata Machine Learning Engine (MLE) |1415## Core Capabilities1617- **MLE table-operator implementation** with PARTITION BY and ORDER BY support18- **Scalable time series analysis** for millions of products or billions of IoT sensors19- **Multiple segmentation methods** including normal distribution modeling20- **Production-ready SQL generation** with proper MLE ON...USING syntax21- **Comprehensive error handling** and data validation22- **Business-focused interpretation** of analytical results23- **Flexible search methods** (binary, linear) for change point detection2425## Machine Learning Engine (MLE) Overview2627The Machine Learning Engine is Teradata's framework for advanced analytics using table operators:28- **Table-operator pattern**: `SELECT * FROM Function(ON table PARTITION BY ... ORDER BY ... USING ...)`29- **Parallel execution** across AMPs via PARTITION BY30- **Built-in functions** for classification, regression, time series, and more31- **SQL-native integration** with standard Teradata workflows3233## Table Analysis Workflow3435This skill automatically analyzes your time series data to generate optimized MLE workflows:3637### 1. Time Series Structure Analysis38- **Temporal Column Detection**: Identifies time/date columns for ordering39- **Value Column Classification**: Distinguishes between numeric time series values40- **Series ID Detection**: Identifies grouping columns for PARTITION BY41- **Frequency Analysis**: Determines sampling frequency and intervals4243### 2. MLE-Specific Recommendations44- **Partition Strategy**: Configures PARTITION BY for parallel processing45- **Parameter Optimization**: Suggests optimal parameters for ChangePointDetection46- **Search Method Selection**: Recommends binary vs linear search47- **Segmentation Method**: Suggests appropriate statistical model4849### 3. SQL Generation Process50- **MLE Syntax Generation**: Creates proper ON...PARTITION BY...ORDER BY...USING SQL51- **Parameter Configuration**: Sets function-specific parameters52- **Result Storage**: Generates CREATE TABLE AS patterns for persisting results5354## How to Use This Skill55561. **Provide Your Time Series Data**:57 ```58 "Analyze time series table: database.sensor_data with timestamp column and value columns"59 ```60612. **The Skill Will**:62 - Analyze temporal structure and sampling frequency63 - Identify optimal function parameters64 - Generate complete ChangePointDetection workflow65 - Provide performance optimization recommendations6667## Input Requirements6869### Data Requirements70- **Time series table**: Teradata table with temporal data71- **Time column**: Time/date column for ORDER BY72- **Value column**: Numeric column to analyze for change points73- **Series ID column**: Column to PARTITION BY (grouping key for parallel processing)7475### Technical Requirements76- **Teradata Vantage** with Machine Learning Engine (MLE) enabled77- **MLE License**: Access to analytic table operators78- **Database permissions**: CREATE, DROP, SELECT on working database79- **Function access**: ChangePointDetection8081## Output Formats8283### Generated Results84- **Change point locations** with timestamps85- **Segment boundaries** identifying structural breaks86- **Statistical metrics** for each detected change point87- **Diagnostic information** for result validation8889### SQL Scripts90- **Complete MLE workflows** ready for execution91- **Parameterized queries** optimized for your data structure92- **Result tables** with proper schema for downstream analysis9394## Time Series Analysis Use Cases Supported95961. **Structural break detection**: Identify regime changes in time series972. **Change point analysis**: Detect shifts in statistical properties983. **Regime changes**: Find transitions between different data-generating processes994. **Anomaly detection**: Locate abrupt changes in sensor or financial data100101## Key Parameters for ChangePointDetection102103- **TargetColumn**: The numeric column to analyze for change points104- **SegmentationMethod**: Statistical model for segments (e.g., 'normal_distribution')105- **SearchMethod**: Algorithm for finding change points ('binary' or 'linear')106- **MaxChangeNum**: Maximum number of change points to detect107- **Penalty**: Information criterion for model selection ('BIC', 'AIC', etc.)108- **OutputOption**: Type of output ('changepoint', 'segment', 'verbose')109110## MLE Best Practices Applied111112- **PARTITION BY optimization** for parallel processing across series113- **ORDER BY** with proper temporal column for time series ordering114- **Parameter tuning** specific to ChangePointDetection115- **Result persistence** using CREATE TABLE AS patterns116- **Error handling** for MLE-specific scenarios117- **Scalability considerations** for production workloads118119## Example Usage120121```sql122-- Example ChangePointDetection workflow123-- Replace parameters with your specific requirements124125-- 1. Execute ChangePointDetection126SELECT * FROM ChangePointDetection (127 ON your_database.your_timeseries_table AS InputTable128 PARTITION BY series_id129 ORDER BY timestamp_col130 USING131 TargetColumn('value_col')132 SegmentationMethod('normal_distribution')133 SearchMethod('binary')134 MaxChangeNum(10)135 Penalty('BIC')136 OutputOption('changepoint')137) AS dt;138```139140## Scripts Included141142### Core MLE Scripts143- **`mle_data_preparation.sql`**: Data preparation for MLE processing144- **`td_change_point_workflow.sql`**: Complete ChangePointDetection implementation145- **`table_analysis.sql`**: Time series structure analysis146- **`parameter_optimization.sql`**: Function parameter tuning147148### Integration Scripts149- **`mle_pipeline_template.sql`**: Multi-step analytical workflows150- **`performance_monitoring.sql`**: Execution monitoring151- **`result_interpretation.sql`**: Output analysis and visualization152153## Industry Applications154155### Supported Domains156- **Economic forecasting** and financial analysis157- **Sales forecasting** and demand planning158- **Manufacturing** process monitoring and quality control159- **IoT sensor data** analysis and alerting160- **Network monitoring** and traffic analysis161- **Energy** load and consumption pattern analysis162163## Limitations and Considerations164165- **MLE licensing**: Requires proper Teradata MLE licensing166- **Data ordering**: Time column must support meaningful ORDER BY167- **Computational complexity**: Large datasets with many partitions may be resource-intensive168- **Data quality**: Results depend on clean, well-structured time series data169- **Parameter sensitivity**: Function performance depends on proper parameter tuning170- **Temporal consistency**: Irregular sampling may affect detection quality171172## Quality Checks173174### Automated Validations175- **Time series structure** verification176- **Partition key** distribution checks177- **Parameter validation** for ChangePointDetection178- **Result quality** assessment179180### Manual Review Points181- **Parameter selection** appropriateness182- **Result interpretation** accuracy183- **Performance optimization** opportunities184- **Integration** with existing workflows185186## Updates and Maintenance187188- **MLE compatibility**: Tested with latest Teradata Vantage releases189- **Performance optimization**: Regular MLE-specific optimizations190- **Best practices**: Updated with Teradata community recommendations191- **Documentation**: Maintained with latest MLE features192193---194195*This skill provides production-ready time series change point detection using Teradata's Machine Learning Engine ChangePointDetection function with industry best practices for scalable analytics.*
Run npx skillmds@latest add teradata-labs/td-change-point in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Change point detection in time series for structural breaks It is listed under Data & Analytics on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
teradata-labs (@teradata-labs) published this skill. Their other Agent Skills are listed on their SkillMD profile.