OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Numalogic

Numalogic is a Python library of operational time-series machine-learning models and tools for analytics, anomaly detection and AIOps. It supports standalone model workflows and can be paired with Numaflow for streaming pipelines.

Independent OpenViST project profile, based on linked sources.

Numalogic — Time-series anomaly detection using reconstruction errors and threshold estimation
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Numalogic when you want Python building blocks for operational time-series modeling, anomaly scoring, or experimentation with synthetic anomalies; pair it with Numaflow when the workflow needs streaming data processing.

Who it is for

  • Data and ML practitioners working with operational time-series data.
  • Engineering teams exploring anomaly detection or streaming ML pipelines.

Documented uses

  • Train a time-series autoencoder and score test sequences for anomalies.
  • Build streaming workflows that preprocess data, train models and return anomaly scores.
  • Generate synthetic time series and inject labeled anomaly patterns for experimentation.
Before you choose

Requirements & limits

  • The library workflow requires PyTorch and PyTorch Lightning; the quick start also uses NumPy, scikit-learn and PyTorch data utilities.
  • The documented streaming path requires Numaflow and shows Kubernetes-based pipeline operations.
  • The quick-start model uses sequence windows, so sequence length is an explicit modeling choice.
  • The synthetic-data tools support both multivariate series generation and configurable anomaly injection.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train and score a time-series anomaly model

Use the documented library workflow to train an autoencoder and calculate anomaly scores for test data.

Before you start

  • Install Numalogic and PyTorch Lightning with pip; install a platform-specific PyTorch version as needed.
  • Use Python with NumPy, scikit-learn, PyTorch data utilities, and Numalogic.

Steps

  1. Scale training and test data with StandardScaler.

  2. Create a StreamingDataset with a sequence length and define a VanillaAE model.

  3. Fit TimeseriesTrainer using a DataLoader, then predict reconstruction errors for the training data.

  4. Fit StdDevThreshold on training reconstruction errors and score the test reconstruction errors; optionally normalize scores with TanhNorm.

Expected outcome

Anomaly scores for the test sequences, with the example showing larger scores for unusual values.

Guide limitations

  • The documented example uses synthetic, single-feature data and a particular autoencoder and threshold estimator; it does not establish suitability for other datasets or production workloads.
Source-based practical guide

Explore synthetic time series and injected anomalies

Generate synthetic series, split them into training and test sets, and inject a documented anomaly type into selected test columns.

Before you start

  • A Python environment with Numalogic installed.

Steps

  1. Create a SyntheticTSGenerator with a sequence length, series count, frequency and other desired generator parameters.

  2. Generate a time-series dataframe and split it into training and test data.

  3. Create an AnomalyGenerator using the training data and a supported anomaly type.

  4. Inject anomalies into selected test columns, setting the desired anomaly ratio and impact.

Expected outcome

Synthetic training and test data with injected anomalies for model or algorithm experiments.

Guide limitations

  • The guide documents synthetic-data generation and anomaly injection, not model training or evaluation results.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
21 November 2026
Original website title
Numalogic - Collection of operational time series ML models and tools · Official homepage title · retained in its source language