Time Series Analysis Framework
A lightweight, easy-to-use, extendable framework kit to analyze time series data
Time Series Analysis
Time series analysis is a fundamental domain in data science and machine learning, with massive applications in various sectors such as e-commerce, finance, capacity planning, supply chain management, medicine, weather, energy, astronomy, and many others.
Kats is a one-stop shop
Kats is a lightweight, easy-to-use, and generalizable framework for generic time series analysis, including forecasting, anomaly detection, multivariate analysis, and feature extraction/embedding.
Kats is the first comprehensive Python library for generic time series analysis, which provides both classical and advanced techniques to model time series data.
Kats connects various domains in time series analysis, where the users can explore the basic characteristics of their time series data, predict the future values, monitor the anomalies, and incorporate them into their ML models and pipelines.
What it does
Kats provides a set of algorithms and models for four domains in time series analysis: forecasting, detection, feature extraction and embedding, and multivariate analysis.
Forecasting: Kats provides a full set of tools for forecasting that includes 10+ individual forecasting models, ensembling, a self-supervised learning (meta-learning) model, backtesting, hyperparameter tuning, and empirical prediction intervals.
Detection: Kats supports functionalities to detect various patterns on time series data, including seasonalities, outlier, change point, and slow trend changes.
Feature extraction and embedding: The time series feature (TSFeature) extraction module in Kats can produce 65 features with clear statistical definitions, which can be incorporated in most machine learning (ML) models, such as classification and regression.
Useful utilities: Kats also provides a set of useful utilities, such as time series simulators.
Installation in Python
Kats is on PyPI, so you can use
pip to install it.
Prophet model to forecast the
air_passengers data set.
CUSUM detection algorithm on simulated data set.
- Homepage: https://facebookresearch.github.io/Kats/
- Kats Python package: https://pypi.org/project/kats/0.1.0/
- Facebook Engineering: https://engineering.fb.com/2021/06/21/open-source/kats/
- Source code repository: https://github.com/facebookresearch/kats
- Contributing: https://github.com/facebookresearch/Kats/blob/master/CONTRIBUTING.md
- Tutorials: https://github.com/facebookresearch/Kats/tree/master/tutorials