Skip to content

[WIP] Add tslearn.foundation module for re-using pre-trained time series models (typically from HF) - #699

Open
rtavenar wants to merge 18 commits into
mainfrom
foundation-module
Open

[WIP] Add tslearn.foundation module for re-using pre-trained time series models (typically from HF)#699
rtavenar wants to merge 18 commits into
mainfrom
foundation-module

Conversation

@rtavenar

Copy link
Copy Markdown
Member

Introduces ZeroShotForecaster, LinearProbeForecaster, LinearProbeClassifier and the underlying TimeSeriesFoundationEmbedder, letting pre-trained models (e.g. Chronos-2) be used behind the usual tslearn estimator API, either zero-shot or with a linear head fitted on frozen representations.

…dels

Introduces ZeroShotForecaster, LinearProbeForecaster, LinearProbeClassifier
and the underlying TimeSeriesFoundationEmbedder, letting pre-trained models
(e.g. Chronos-2) be used behind the usual tslearn estimator API, either
zero-shot or with a linear head fitted on frozen representations.
@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.83333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.90%. Comparing base (4cf2840) to head (3817518).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
tslearn/foundation/_forecasting.py 99.23% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #699      +/-   ##
==========================================
+ Coverage   95.14%   95.90%   +0.75%     
==========================================
  Files          83       87       +4     
  Lines        7814     9214    +1400     
==========================================
+ Hits         7435     8837    +1402     
+ Misses        379      377       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rtavenar
rtavenar requested a review from charavelg August 13, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants