Skip to content

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

chore: update .gitignore and bump scientific-agent-skills version to 2.40.0

Timothy Kassisd5e4a2d09122
diff --git a/.gitignore b/.gitignore
index 0ceddfef..3ff34f3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,9 @@ __pycache__/
.env
# Project
-temp/
\ No newline at end of file
+temp/
+research/
+
+.agents/
+
+skills-lock.json
\ No newline at end of file
diff --git a/scientific-skills/aeon/SKILL.md b/scientific-skills/aeon/SKILL.md
index 17dd7f9b..231d0acb 100644
--- a/scientific-skills/aeon/SKILL.md
+++ b/scientific-skills/aeon/SKILL.md
@@ -2,6 +2,8 @@
name: aeon
description: This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.
license: BSD-3-Clause license
+allowed-tools: Read Write Edit Bash
+compatibility: Requires Python 3.10+ and the aeon package (uv pip install). Optional aeon[all_extras] for deep learning and extended dependencies.
metadata:
skill-author: K-Dense Inc.
---
@@ -10,7 +12,9 @@ metadata:
## Overview
-Aeon is a scikit-learn compatible Python toolkit for time series machine learning. It provides state-of-the-art algorithms for classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search.
+Aeon is a scikit-learn compatible Python toolkit for time series machine learning ([aeon-toolkit.org](https://www.aeon-toolkit.org/)). It provides algorithms across classification, regression, clustering, forecasting, anomaly detection, segmentation, similarity search, distances, transformations, benchmarking, and visualization — with a consistent estimator API.
+
+**Version note:** Examples target **aeon 1.x** (stable docs: v1.4.0, March 2026). The v1.0 release reworked forecasting and transformations; import paths differ from aeon 0.x/sktime-era code.
## When to Use This Skill
@@ -25,10 +29,24 @@ Apply this skill when:
## Installation
+Requires **Python 3.10+** (3.11+ recommended). Pin a 1.x release for reproducibility:
+
+```bash
+uv pip install "aeon>=1.4,<2"
+```
+
+For deep learning forecasters/classifiers and other optional estimators:
+
```bash
-uv pip install aeon
+uv pip install "aeon[all_extras]>=1.4,<2"
```
+On zsh, quote the extras: `uv pip install "aeon[all_extras]>=1.4,<2"`.
+
+### Experimental modules
+
+Upstream treats **forecasting**, **anomaly_detection**, **segmentation**, **similarity_search**, and **visualisation** as experimental — interfaces may change between minor releases. Prefer stable modules (classification, regression, clustering, distances, transformations) for production pipelines unless you need these tasks.
+
## Core Capabilities
### 1. Time Series Classification
@@ -92,15 +110,25 @@ centers = clusterer.cluster_centers_
### 4. Forecasting
-Predict future time series values. See `references/forecasting.md` for forecasters.
+Predict future time series values (experimental module in aeon 1.x). See `references/forecasting.md` for forecasters.
**Quick Start:**
```python
-from aeon.forecasting.arima import ARIMA
+import numpy as np
+from aeon.forecasting import NaiveForecaster
+from aeon.forecasting.stats import ARIMA
-forecaster = ARIMA(order=(1, 1, 1))
-forecaster.fit(y_train)
-y_pred = forecaster.predict(fh=[1, 2, 3, 4, 5])
+y_train = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0])
+
+# Set horizon in the constructor; predict passes the series to forecast from
+naive = NaiveForecaster(strategy="last", horizon=5)
+naive.fit(y_train)
+y_pred = naive.predict(y_train)
+
+# ARIMA uses p/d/q (not order=); multi-step via iterative_forecast
+arima = ARIMA(p=1, d=1, q=1)
+arima.fit(y_train)
+y_pred = arima.iterative_forecast(y_train, prediction_horizon=5)
```
### 5. Anomaly Detection
@@ -230,10 +258,11 @@ Load standard benchmarks and evaluate performance. See `references/datasets_benc
**Load Datasets:**
```python
-from aeon.datasets import load_classification, load_regression
+from aeon.datasets import load_classification, load_gunpoint, load_regression
-# Classification
-X_train, y_train = load_classification("ArrowHead", split="train")
+# Classification (generic loader or dataset-specific helper)
+X_train, y_train = load_classification("GunPoint", split="train")
+X_train, y_train = load_gunpoint(split="train") # same UCR dataset
# Regression
X_train, y_train = load_regression("Covid3Month", split="train")
@@ -319,7 +348,7 @@ plt.show()
X_train = imputer.fit_transform(X_train)
```
-3. **Check Data Format**: Aeon expects shape `(n_samples, n_channels, n_timepoints)`
+3. **Check Data Format**: Collections use `(n_cases, n_channels, n_timepoints)`; single series use `(n_channels, n_timepoints)` (see [data format](https://www.aeon-toolkit.org/en/stable/api_reference/data_format.html))
### Model Selection
@@ -338,7 +367,7 @@ plt.show()
**For Maximum Accuracy:**
- Classification: `HIVECOTEV2`, `InceptionTimeClassifier`
- Regression: `InceptionTimeRegressor`
-- Forecasting: `ARIMA`, `TCNForecaster`
+- Forecasting: `AutoARIMA`, `AutoETS`, `TCNForecaster` (requires `[all_extras]` for deep learning)
**For Interpretability:**
- Classification: `ShapeletTransformClassifier`, `Catch22Classifier`
diff --git a/scientific-skills/aeon/references/datasets_benchmarking.md b/scientific-skills/aeon/references/datasets_benchmarking.md
index 5f08fd0b..01fbc08e 100644
--- a/scientific-skills/aeon/references/datasets_benchmarking.md
+++ b/scientific-skills/aeon/references/datasets_benchmarking.md
@@ -2,6 +2,8 @@
Aeon provides comprehensive tools for loading datasets and benchmarking time series algorithms.
+From **aeon 1.4** onward, most classification and regression archives are hosted on **Zenodo** (including the relaunched Multiverse multivariate classification archive). Loaders download on first use; cache location follows aeon defaults.
+
## Dataset Loading
### Task-Specific Loaders
@@ -10,9 +12,12 @@ Aeon provides comprehensive tools for loading datasets and benchmarking time ser
```python
from aeon.datasets import load_classification
-# Load train/test split
+# Load train/test split (or use load_gunpoint for this benchmark)
+from aeon.datasets import load_gunpoint
+
X_train, y_train = load_classification("GunPoint", split="train")
X_test, y_test = load_classification("GunPoint", split="test")
+# X_train, y_train = load_gunpoint(split="train")
# Load entire dataset
X, y = load_classification("GunPoint")
diff --git a/scientific-skills/aeon/references/forecasting.md b/scientific-skills/aeon/references/forecasting.md
index c03cb41c..769c9d1b 100644
--- a/scientific-skills/aeon/references/forecasting.md
+++ b/scientific-skills/aeon/references/forecasting.md
@@ -1,140 +1,109 @@
# Time Series Forecasting
-Aeon provides forecasting algorithms for predicting future time series values.
+The `aeon.forecasting` module provides forecasters for univariate and multivariate series. In aeon **1.x**, forecasting was rebuilt on array-native `BaseForecaster` estimators (replacing the old sktime-style `fh` API). The module is marked **experimental** — expect API evolution between releases.
-## Naive and Baseline Methods
-
-Simple forecasting strategies for comparison:
-
-- `NaiveForecaster` - Multiple strategies: last value, mean, seasonal naive
- - Parameters: `strategy` ("last", "mean", "seasonal"), `sp` (seasonal period)
- - **Use when**: Establishing baselines or simple patterns
+Import paths (aeon 1.4+):
-## Statistical Models
-
-Classical time series forecasting methods:
+- `from aeon.forecasting import NaiveForecaster, RegressionForecaster`
+- `from aeon.forecasting.stats import ARIMA, AutoARIMA, ETS, AutoETS, Theta, TAR, AutoTAR, TVP`
+- `from aeon.forecasting.deep_learning import TCNForecaster, DeepARForecaster`
-### ARIMA
-- `ARIMA` - AutoRegressive Integrated Moving Average
- - Parameters: `p` (AR order), `d` (differencing), `q` (MA order)
- - **Use when**: Linear patterns, stationary or difference-stationary series
+List all forecasters: `aeon.utils.discovery.all_estimators(type_filter="forecaster")`.
-### Exponential Smoothing
-- `ETS` - Error-Trend-Seasonal decomposition
- - Parameters: `error`, `trend`, `seasonal` types
- - **Use when**: Trend and seasonal patterns present
+## Naive and Baseline Methods
-### Threshold Autoregressive
-- `TAR` - Threshold Autoregressive model for regime switching
-- `AutoTAR` - Automated threshold discovery
- - **Use when**: Series exhibits different behaviors in different regimes
+- `NaiveForecaster` — `strategy` in `"last"`, `"mean"`, `"seasonal_last"`; set `horizon` and `seasonal_period` in the constructor
+ - **Use when**: Establishing baselines or simple patterns
-### Theta Method
-- `Theta` - Classical Theta forecasting
- - Parameters: `theta`, `weights` for decomposition
- - **Use when**: Simple but effective baseline needed
+## Statistical Models
-### Time-Varying Parameter
-- `TVP` - Time-varying parameter model with Kalman filtering
- - **Use when**: Parameters change over time
+- `ARIMA` / `AutoARIMA` — `p`, `d`, `q` orders (not `order=(p,d,q)`); supports exogenous variables via `exog`
+- `ETS` / `AutoETS` — exponential smoothing (native implementations in aeon 1.4+)
+- `Theta` — classical Theta method
+- `TAR` / `AutoTAR` — threshold autoregressive models for regime switching
+- `TVP` — time-varying parameter (Kalman-style) models
## Deep Learning Forecasters
-Neural networks for complex temporal patterns:
-
-- `TCNForecaster` - Temporal Convolutional Network
- - Dilated convolutions for large receptive fields
- - **Use when**: Long sequences, need non-recurrent architecture
+Requires `aeon[all_extras]` (PyTorch stack):
-- `DeepARNetwork` - Probabilistic forecasting with RNNs
- - Provides prediction intervals
- - **Use when**: Need probabilistic forecasts, uncertainty quantification
+- `TCNForecaster` — temporal convolutional network
+- `DeepARForecaster` — probabilistic RNN forecaster (replaces legacy `DeepARNetwork` naming)
## Regression-Based Forecasting
-Apply regression to lagged features:
-
-- `RegressionForecaster` - Wraps regressors for forecasting
- - Parameters: `window_length`, `horizon`
- - **Use when**: Want to use any regressor as forecaster
+- `RegressionForecaster` — sliding `window` over history, `horizon` steps ahead, any sklearn/aeon regressor
## Quick Start
```python
-from aeon.forecasting.naive import NaiveForecaster
-from aeon.forecasting.arima import ARIMA
import numpy as np
+from aeon.forecasting import NaiveForecaster
+from aeon.forecasting.stats import ARIMA, AutoETS
-# Create time series
-y = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
+y = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0])
-# Naive baseline
-naive = NaiveForecaster(strategy="last")
+# Naive — horizon is a constructor argument; predict(y) forecasts from series y
+naive = NaiveForecaster(strategy="last", horizon=3)
naive.fit(y)
-forecast_naive = naive.predict(fh=[1, 2, 3])
+pred_naive = naive.predict(y)
-# ARIMA model
-arima = ARIMA(order=(1, 1, 1))
+# ARIMA — one-step by default; multi-step via iterative_forecast
+arima = ARIMA(p=1, d=1, q=1)
arima.fit(y)
-forecast_arima = arima.predict(fh=[1, 2, 3])
+pred_arima = arima.iterative_forecast(y, prediction_horizon=3)
+
+# Auto model selection
+auto_ets = AutoETS(horizon=3)
+auto_ets.fit(y)
+pred_ets = auto_ets.predict(y)
```
## Forecasting Horizon
-The forecasting horizon (`fh`) specifies which future time points to predict:
+In aeon 1.x, set `horizon` on the estimator (number of steps ahead). `predict(y)` returns the forecast `horizon` steps beyond the end of `y`.
-```python
-# Relative horizon (next 3 steps)
-fh = [1, 2, 3]
+Multi-step strategies:
-# Absolute horizon (specific time indices)
-from aeon.forecasting.base import ForecastingHorizon
-fh = ForecastingHorizon([11, 12, 13], is_relative=False)
-```
+- **`iterative_forecast(y, prediction_horizon)`** — reuse one fitted model, feed predictions back (ARIMA, many stats models)
+- **`direct_forecast(y, prediction_horizon)`** — refit per horizon (requires `capability:horizon` tag; e.g. `RegressionForecaster`)
+- **`NaiveForecaster`** — set `horizon>1` directly when `strategy` supports it
+
+There is no `ForecastingHorizon` / `fh=[1,2,3]` API in aeon 1.x.
## Model Selection
-- **Baseline**: NaiveForecaster with seasonal strategy
-- **Linear patterns**: ARIMA
-- **Trend + seasonality**: ETS
-- **Regime changes**: TAR, AutoTAR
-- **Complex patterns**: TCNForecaster
-- **Probabilistic**: DeepARNetwork
-- **Long sequences**: TCNForecaster
-- **Short sequences**: ARIMA, ETS
+- **Baseline**: `NaiveForecaster(strategy="seasonal_last", seasonal_period=12, horizon=h)`
+- **Linear / stationary**: `ARIMA`, `AutoARIMA`
+- **Trend + seasonality**: `ETS`, `AutoETS`
+- **Regime changes**: `TAR`, `AutoTAR`
+- **Complex patterns**: `TCNForecaster`, `RegressionForecaster` with aeon regressors
+- **Probabilistic**: `DeepARForecaster`
## Evaluation Metrics
-Use standard forecasting metrics:
+Use scikit-learn or standard numpy metrics on hold-out forecasts:
```python
-from aeon.performance_metrics.forecasting import (
- mean_absolute_error,
- mean_squared_error,
- mean_absolute_percentage_error
-)
+from sklearn.metrics import mean_absolute_error, mean_squared_error
-# Calculate error
mae = mean_absolute_error(y_true, y_pred)
mse = mean_squared_error(y_true, y_pred)
-mape = mean_absolute_percentage_error(y_true, y_pred)
```
## Exogenous Variables
-Many forecasters support exogenous features:
+Pass aligned exogenous arrays as `exog` (not `X`):
```python
-# Train with exogenous variables
-forecaster.fit(y, X=X_train)
-
-# Predict requires future exogenous values
-y_pred = forecaster.predict(fh=[1, 2, 3], X=X_test)
+forecaster.fit(y_train, exog=exog_train)
+y_pred = forecaster.predict(y_test, exog=exog_test)
```
## Base Classes
-- `BaseForecaster` - Abstract base for all forecasters
-- `BaseDeepForecaster` - Base for deep learning forecasters
+- `BaseForecaster` — `horizon`, `axis`, `fit`, `predict`, `forecast`
+- `DirectForecastingMixin` / `IterativeForecastingMixin` — multi-step helpers
+- `BaseDeepForecaster` — deep learning forecasters
-Extend these to implement custom forecasting algorithms.
+Extend `BaseForecaster` for custom forecasters.
diff --git a/scientific-skills/aeon/references/networks.md b/scientific-skills/aeon/references/networks.md
index 9f83cda7..f9081801 100644
--- a/scientific-skills/aeon/references/networks.md
+++ b/scientific-skills/aeon/references/networks.md
@@ -95,7 +95,7 @@ Networks designed for representation learning and clustering.
- LITEMV variant for multivariate series
- **Use when**: Need efficiency with strong performance
-**DeepARNetwork** - Probabilistic Forecasting
+**DeepARForecaster** - Probabilistic forecasting (use via `aeon.forecasting.deep_learning`)
- Autoregressive RNN for forecasting
- Produces probabilistic predictions
- **Use when**: Need forecast uncertainty quantification
@@ -192,7 +192,7 @@ clf.fit(X_train, y_train)
**Classification**: InceptionNetwork, ResNetNetwork, FCNNetwork
**Regression**: InceptionNetwork, ResNetNetwork, TCNNetwork
-**Forecasting**: TCNNetwork, DeepARNetwork, RecurrentNetwork
+**Forecasting**: TCNForecaster, DeepARForecaster, RecurrentNetwork
**Clustering**: AEFCNNetwork, AEResNetNetwork, AEAttentionBiGRUNetwork
### By Data Characteristics:
diff --git a/uv.lock b/uv.lock
index d669a55d..082c2c46 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1668,7 +1668,7 @@ wheels = [
[[package]]
name = "scientific-agent-skills"
-version = "2.37.1"
+version = "2.40.0"
source = { virtual = "." }
dependencies = [
{ name = "cisco-ai-skill-scanner" },