Salesforce Unveils Merlion, An Open-Source Library For Time Series Analysis

A unified interface for a variety of commonly used models and datasets for anomaly detection and forecasting on both univariate and multivariate time series, as well as typical pre/post-processing layers.

Cloud-based software company, Salesforce has released Merlion, an open-source Python library for time series intelligence.

Merlion provides an end-to-end machine learning platform that includes data loading, data transformation, and model construction. After training is complete, post-processing might encompass various tasks, such as evaluating model performance or making accurate predictions about what will happen in the future based on historical trends.

The library provides a uniform interface for models and datasets and conventional pre/post-processing layers to detect abnormalities in both univariate and multivariate time series. Merlion is easy to use, especially for visualisation, anomaly score calibration for better interpretability, AutoML for hyperparameter tuning and model selection, and model ensembling. Merlion’s evaluation system simulates a model’s live deployment and retraining in a production environment. It can offer engineers a one-stop-shop for creating models with unique time series requirements.

Merlion’s distinguishing characteristics include the following:

  • A standardised and easily extensible framework for data loading, pre-processing, and benchmarking has been developed for a wide range of time series forecasting and anomaly detection activities.
  • A single interface that unifies a library of various models for anomaly detection and forecasting. Classic statistical approaches, tree ensembles, and deep learning methods are among the models. Advanced users can customise each model to their liking.
  • Abstract DefaultDetector and DefaultForecaster models that are efficient, stable, and give a starting point for new users.
  • AutoML, which allows for automated hyperparameter adjustment and model selection.
  • Anomaly detectors with practical, industry-inspired post-processing techniques that make anomaly scores more interpretable while simultaneously lowering the false positive rate.
  • Simple ensembles, which integrate the outputs of numerous models to achieve more robust performance.
  • Flexible evaluation pipelines that emulate the live deployment and retraining of a model in production, as well as evaluating performance on forecasting and anomaly detection.
  • Support for visualising model predictions is built-in.

One can find the research paper here and the code here for reference.

More Great AIM Stories

Dr. Nivash Jeevanandam
Nivash holds a doctorate in information technology and has been a research associate at a university and a development engineer in the IT industry. Data science and machine learning excite him.

More Stories


8th April | In-person Conference | Hotel Radisson Blue, Bangalore

Organized by Analytics India Magazine

View Event >>

30th Apr | Virtual conference

Organized by Analytics India Magazine

View Event >>

Yugesh Verma
A guide to explainable named entity recognition

Named entity recognition (NER) is difficult to understand how the process of NER worked in the background or how the process is behaving with the data, it needs more explainability. we can make it more explainable.

Yugesh Verma
10 real-life applications of Genetic Optimization

Genetic algorithms have a variety of applications, and one of the basic applications of genetic algorithms can be the optimization of problems and solutions. We use optimization for finding the best solution to any problem. Optimization using genetic algorithms can be considered genetic optimization

Yugesh Verma
How to Visualize Backpropagation in Neural Networks?

The backpropagation algorithm computes the gradient of the loss function with respect to the weights. these algorithms are complex and visualizing backpropagation algorithms can help us in understanding its procedure in neural network.

3 Ways to Join our Community

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Telegram Channel

Discover special offers, top stories, upcoming events, and more.

Subscribe to our newsletter

Get the latest updates from AIM