
AutoTS
io.github.winedarksea由 GitHub 帳號 winedarksea 發布v1.0.1更新於 Oct 24, 2026
Automated time series forecasting with model search, anomaly detection, and event risk analysis
概覽
AutoTS 是一個本機 MCP 伺服器,讓助理執行自動化時間序列預測,包含模型搜尋、集成以及異常與事件風險分析。
- 可以做什麼
- 對時間序列資料執行自動化預測搜尋,以遺傳演算法挑選模型、前處理與集成,並進行交叉驗證評分(依據描述與 README)。
- 適用情境
- 當你擁有長格式或寬格式的 pandas 歷史時間序列資料,希望助理搜尋準確預測、比較模型或產生機率上下界預測時使用。
- 執行需求
- 以本機 stdio 程序執行,從 PyPI 套件 autots-mcp(或帶 mcp 附加項的 autots)安裝,需要 Python。未宣告驗證、環境變數或標頭。部分模型與方法需要基本安裝之外的額外套件。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AutoTS,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
AutoTS
[圖片]AutoTS is a time series package for Python designed for rapidly deploying high-accuracy forecasts at scale. Give it a try in your browser with the official demo app.
In 2023, AutoTS won in the M6 forecasting competition, delivering the highest performance investment decisions across 12 months of stock market forecasting.
There are dozens of forecasting models usable in the sklearn style of .fit() and .predict().
These includes naive, statistical, machine learning, and deep learning models.
Additionally, there are over 30 time series specific transforms usable in the sklearn style of .fit(), .transform() and .inverse_transform().
All of these function directly on Pandas Dataframes, without the need for conversion to proprietary objects.
All models support forecasting multivariate (multiple time series) outputs and also support probabilistic (upper/lower bound) forecasts. Most models can readily scale to tens and even hundreds of thousands of input series. Many models also support passing in user-defined exogenous regressors.
These models are all designed for integration in an AutoML feature search which automatically finds the best models, preprocessing, and ensembling for a given dataset through genetic algorithms.
Horizontal and mosaic style ensembles are the flagship ensembling types, allowing each series to receive the most accurate possible models while still maintaining scalability.
A combination of metrics and cross-validation options, the ability to apply subsets and weighting, regressor generation tools, simulation forecasting mode, event risk forecasting, live datasets, template import and export, plotting, and a collection of data shaping parameters round out the available feature set.
Table of Contents
- Installation
- Basic Use
- Tips for Speed and Large Data
- Flowchart
- Extended Tutorial GitHub or Docs
- Production Example
Installation
This includes dependencies for basic models, but additonal packages are required for some models and methods.
Be advised there are several other projects that have chosen similar names, so make sure you are on the right AutoTS code, papers, and documentation.
Basic Use
Input data for AutoTS is expected to come in either a long or a wide format:
- The wide format is a
pandas.DataFramewith apandas.DatetimeIndexand each column a distinct series. - The long format has three columns:
- Date (ideally already in pandas-recognized
datetimeformat) - Series ID. For a single time series, series_id can be
= None. - Value
- Date (ideally already in pandas-recognized
- For long data, the column name for each of these is passed to
.fit()asdate_col,id_col, andvalue_col. No parameters are needed for wide data.
Lower-level functions are only designed for wide style data.
The lower-level API, in particular the large section of time series transformers in the scikit-learn style, can also be utilized independently from the AutoML framework.
Check out extended_tutorial.md for a more detailed guide to features.
Also take a look at the production_example.py
Tips for Speed and Large Data:
- Use appropriate model lists, especially the predefined lists:
superfast(simple naive models) andfast(more complex but still faster models, optimized for many series)fast_parallel(a combination offastandparallel) orparallel, given many CPU cores are availablen_jobsusually gets pretty close with='auto'but adjust as necessary for the environment
- 'scalable' is the best list to avoid crashing when many series are present. There is also a transformer_list = 'scalable'
- see a dict of predefined lists (some defined for internal use) with
from autots.models.model_list import model_lists
- Use the
subsetparameter when there are many similar series,subset=100will often generalize well for tens of thousands of similar series.- if using
subset, passingweightsfor series will weight subset selection towards higher priority series. - if limited by RAM, it can be distributed by running multiple instances of AutoTS on different batches of data, having first imported a template pretrained as a starting point for all.
- if using
- Set
model_interrupt=Trueto skip only the current model when you hitCtrl+C. TapCtrl+Ca second time within 1.5 seconds to end the entire run, or pass something likemodel_interrupt={"mode": "skip", "double_press_window": 1.2}to tighten/loosen the window. - Use the
result_filemethod of.fit()which will save progress after each generation - helpful to save progress if a long training is being done. Useimport_resultsto recover. - While Transformations are pretty fast, setting
transformer_max_depthto a lower number (say, 2) will increase speed. Also utilizetransformer_list== 'fast' or 'superfast'. - Check out this example of using AutoTS with pandas UDF.
- Ensembles are obviously slower to predict because they run many models, 'distance' models 2x slower, and 'simple' models 3x-5x slower.
ensemble='horizontal-max'withmodel_list='no_shared_fast'can scale relatively well given many cpu cores because each model is only run on the series it is needed for.
- Reducing
num_validationsandmodels_to_validatewill decrease runtime but may lead to poorer model selections. - For datasets with many records, upsampling (for example, from daily to monthly frequency forecasts) can reduce training time if appropriate.
- this can be done by adjusting
frequencyandaggfuncbut is probably best done before passing data into AutoTS.
- this can be done by adjusting
- It will be faster if NaN's are already filled. If a search for optimal NaN fill method is not required, then fill any NaN with a satisfactory method before passing to class.
- Set
runtime_weightinginmetric_weightingto a higher value. This will guide the search towards faster models, although it may come at the expense of accuracy. - Memory shortage is the most common cause of random process/kernel crashes. Try testing a data subset and using a different model list if issues occur. Please also report crashes if found to be linked to a specific set of model parameters (not AutoTS parameters but the underlying forecasting model params). Also crashes vary significantly by setup such as underlying linpack/blas so seeing crash differences between environments can be expected.
MCP Server
See the README.md in ./autots/mcp. Note install with pip install autots[mcp] for full dependencies, or the equivalent pip install autots-mcp.
mcp-name: io.github.winedarksea/AutoTS
How to Contribute:
- Give feedback on where you find the documentation confusing
- Use AutoTS and...
- Report errors and request features by adding Issues on GitHub
- Posting the top model templates for your data (to help improve the starting templates)
- Feel free to recommend different search grid parameters for your favorite models
- And, of course, contributing to the codebase directly on GitHub.
AutoTS Process
Citation
If you wish to cite AutoTS in an academic work, the following paper may be used.
Colin Catlin, Adaptive forecasting in dynamic markets: An evaluation of AutoTS within the M6 competition, International Journal of Forecasting, Volume 41, Issue 4, 2025, Pages 1485-1493, ISSN 0169-2070, https://doi.org/10.1016/j.ijforecast.2025.08.004.
Also known as Project CATS (Catlin's Automated Time Series) hence the logo.
來源:README.md,提交 d35f318
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分