Views
No views yet
pip install timee-ts1from timee import TimeeClassifier
2import numpy as np
3
4# Downloads weights automatically on first use
5clf = TimeeClassifier.from_pretrained()
6
7# X: (n_samples, n_channels, seq_len) float32
8X_train = np.random.randn(20, 1, 256).astype(np.float32)
9y_train = np.array([0, 1] * 10)
10X_test = np.random.randn(5, 1, 256).astype(np.float32)
11
12predictions, probabilities = clf.predict(X_train, y_train, X_test)int, str, etc.).
Datasets with more than 10 classes are handled automatically via one-vs-rest.| Dataset | Classes | Accuracy | ROC AUC |
|---|---|---|---|
| ArrowHead | 3 | 76.6 % | 0.964 |
| ECG5000 | 5 | 95.0 % | 0.952 |
| GunPoint | 2 | 98.7 % | 0.997 |
| ItalyPowerDemand | 2 | 96.0 % | 0.993 |
| TwoPatterns | 4 | 99.8 % | 1.000 |
1@misc{küken2026timeeendtoendtimeseries,
2 title={TimEE: End-to-end Time Series Classification via In-Context Learning},
3 author={Jaris Küken and Shi Bin Hoo and Martin Mráz and Frank Hutter and Lennart Purucker},
4 year={2026},
5 eprint={2607.07500},
6 archivePrefix={arXiv},
7 primaryClass={cs.LG},
8 url={https://arxiv.org/abs/2607.07500},
9}