matrix-profile-rs

Phase 2/5 (50%)

← Back to Projects


The Insight

Developing…

Quick Facts

   
Status Phase 2/5 (50%)
Language N/A
Started 2026

What This Is

A high-performance Rust implementation of Matrix Profile algorithms for time series analysis. Matrix Profiles enable pattern discovery, anomaly detection, and similarity search in univariate time series without domain knowledge or parameter tuning.

Think of it as “find repeating patterns and anomalies in any time series data” with a simple API: df.select(pl.col("ts").mp.stomp(m=20)) for Polars users, or direct Rust APIs for maximum performance.

Problem It Solves

Time series analysis requires identifying:

Existing solutions:

matrix-profile-rs provides production-quality implementations with:

Features

Phase 1: Parallel Core Engine (25% complete)

Phase 2: Discovery Ergonomics (In Progress)

Phase 3: Anytime Insights (Planned)

Phase 4: Hardware Optimization (Planned)

Phase 5: Ecosystem Integration (Planned)

Architecture

Algorithm Stack

Data Flow

Time Series Data
    
Matrix Profile Calculation (STOMP/SCAMP/SCRIMP++)
    
MatrixProfile struct (distances, indices, metadata)
    
Discovery APIs  motifs() / discords() / to_polars()

Key Components

Use Cases

Predictive Maintenance:

Healthcare:

Finance:

Operations:


← Back to Projects Development Philosophy