Why this matters
Many real‑world systems need accurate, low‑latency models on constrained hardware (edge, IoT, embedded). Deep learning models can be heavy to train and serve; feature‑based methods deliver strong accuracy with simpler, faster inference.
Approach in brief
- Understand constraints (latency, resources, data)
- Pick the right classifier (ex: ROCKET variants with Ridge) for the job
- Optimize features and classifier for your use case
ROCKET family - example of efficient and accurate classifiers
- Thousands of simple, randomly‑parameterized convolutions over the series
- Pool to compact features; train a lightweight linear classifier
- Compare classification accuracy, inference latency, and memory use against a named baseline on the same data split and hardware. Record the series length, batch size, and feature count so the comparison is reproducible.
Variants at a glance
- MiniROCKET — A compact set of convolutional kernels and proportion-of-positive-values (PPV) features; a candidate when efficient feature extraction matters.
- MultiROCKET — Multiple pooling statistics over raw and differenced signals; compare its additional feature cost and classification quality on the target task.
- ROCKET — Random kernels with simple pooling. Solid, fast baseline.
Simple pipeline
from rocket_and_friends.src.mini_rocket import MiniROCKET
from sklearn.linear_model import RidgeClassifierCV
import numpy as np
# Simple, production-ready pipeline
transformer = MiniROCKET(num_features=10_000, random_state=42)
transformer.fit(X_train)
X_train_features = transformer.transform(X_train)
X_test_features = transformer.transform(X_test)
classifier = RidgeClassifierCV(alphas=np.logspace(-3, 3, 7))
classifier.fit(X_train_features, y_train)
y_pred = classifier.predict(X_test_features)Workload considerations
- Edge classification: measure end-to-end latency and peak memory on the target device.
- IoT sensors: measure CPU and power use at the required sampling and prediction rates.
- Industrial monitoring: test across machines and operating conditions, with splits that avoid leakage between related signals.
This overview does not report a client benchmark. A deployment claim needs the dataset, baseline, hardware, metric, and measured result; a general speed multiplier would hide those conditions.
How I can help
- Algorithm selection and adaptation
- Custom optimization for your data and constraints
- Production deployment and MLOps integration
- Training and knowledge transfer
Contact
Farrukh Nauman | AI Consultant
Time Series Classification, Forecasting, Physics-Informed ML | PhD
📧 farrukh.nauman@inertialrange.com 🔗 LinkedIn: fnauman
💻 GitHub: fnauman
NoteLearn More
Curious how these techniques could improve your time series applications? Let’s discuss your constraints and goals.