Skip to content

Commit

Permalink
Update README. (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
aadyotb committed Feb 7, 2023
1 parent cd561bb commit 879e92e
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 24 deletions.
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

## Table of Contents
1. [Introduction](#introduction)
1. [Comparison with Related Libraries](#comparison-with-related-libraries)
1. [Installation](#installation)
1. [Documentation](#documentation)
1. [Getting Started](#getting-started)
Expand Down Expand Up @@ -57,28 +58,33 @@ Merlion's key features are
- Distributed computation [backend](https://opensource.salesforce.com/Merlion/merlion.spark.html) using PySpark,
which can be used to serve time series applications at industrial scale.


## Comparison with Related Libraries

The table below provides a visual overview of how Merlion's key features compare to other libraries for time series
anomaly detection and/or forecasting.

| | Merlion | Prophet | Alibi Detect | Kats | statsmodels | nixtla | GluonTS | RRCF | STUMPY | Greykite |pmdarima
:--- | :---: | :---:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :----: | :---:
| Univariate Forecasting | ✅ | ✅| | ✅ | ✅ | ✅ | ✅ | | |✅| ✅
| Multivariate Forecasting || | ||||| | | | |
| Univariate Anomaly Detection ||||| | | |||||
| Multivariate Anomaly Detection || ||| | | ||| | | |
| AutoML | ✅ | | | ✅ | | | | | | | ✅ | | ✅
| Ensembles || | || | | | || | | |
| Benchmarking || | | ||| | | | |
| Visualization ||| || | | | | ||| |
| | Merlion | Prophet | Alibi Detect | Kats | darts | statsmodels | nixtla | GluonTS | RRCF | STUMPY | Greykite |pmdarima
:--- | :---: | :---:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :----: | :---:
| Univariate Forecasting | ✅ | ✅| | ✅ | ✅ | ✅ | ✅ | ✅ | | |✅| ✅
| Multivariate Forecasting || | |||||| | | | |
| Univariate Anomaly Detection |||||| | | |||||
| Multivariate Anomaly Detection || |||| | | ||| | | |
| Pre Processing | ✅ | | ✅ | ✅ | ✅ | | ✅ | ✅ | | | ✅ | ✅
| Post Processing || || | | | | | | | | |
| AutoML | ✅ | | | ✅ | | | | | | | | ✅ | | ✅
| Ensembles || | ||| | | | || | | |
| Benchmarking || | | |||| | | ||
| Visualization ||| ||| | | | | ||

The following features are new in Merlion 2.0:

| | Merlion | Prophet | Alibi Detect | Kats | statsmodels | nixtla | GluonTS | RRCF | STUMPY | Greykite |pmdarima
:--- | :---: | :---:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :----: | :---:
| Exogenous Regressors | ✅ | ✅ | | | ✅ | | | | | ✅ | ✅
| Change Point Detection ||||| | | | | ||
| Clickable Visual UI || | | | | | | | | |
| Distributed Backend || | | | || | | | |
| | Merlion | Prophet | Alibi Detect | Kats | darts | statsmodels | nixtla | GluonTS | RRCF | STUMPY | Greykite |pmdarima
:--- | :---: | :---:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :----: | :---:
| Exogenous Regressors | ✅ | ✅ | | |✅ | ✅ | | | | | ✅ | ✅
| Change Point Detection ||||| | | | | | | |
| Clickable Visual UI || | | | | | | | | | |
| Distributed Backend || | | | | | | | | | |

## Installation

Expand Down
1 change: 1 addition & 0 deletions docs/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ docs_files=("${DIRNAME}/source/*.rst" "examples")
checkout_files=("${docs_files[@]}" "merlion" "ts_datasets" "setup.py" "MANIFEST.in")
for version in "${versions[@]}"; do
if [[ ! -d "${DIRNAME}/build/html/${version}" ]]; then
rm -rf "${DIRNAME}/build/html/${version}"
if [[ ${version} != "latest" ]]; then
git checkout -b "${version}_local_docs_only"
for f in $(git diff --name-only --diff-filter=AR "tags/${version}" "${DIRNAME}/source/*.rst" "examples"); do
Expand Down
4 changes: 2 additions & 2 deletions docs/process_old_docs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022 salesforce.com, inc.
# Copyright (c) 2023 salesforce.com, inc.
# All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
# For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
Expand Down Expand Up @@ -63,7 +63,7 @@ def main():
for file in html_files:
with open(file) as f:
soup = bs(f, "html.parser")
version_dl = [dl for dl in soup.find_all("dl") if dl.find("dt", text="Versions")]
version_dl = [dl for dl in soup.find_all("dl") if dl.find("dt", string="Versions")]
if len(version_dl) == 0:
continue
version_dl[0].replace_with(create_version_dl(soup, prefix, version, versions))
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ beautifulsoup4
ipykernel
nbsphinx
pandoc
sphinx
docutils==0.16
sphinx<6
sphinx_autodoc_typehints
sphinx_rtd_theme
21 changes: 21 additions & 0 deletions docs/source/merlion.models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,32 @@ Subpackages
:maxdepth: 3

merlion.models.anomaly

.. toctree::
:maxdepth: 2

merlion.models.anomaly.change_point
merlion.models.anomaly.forecast_based

.. toctree::
:maxdepth: 3

merlion.models.forecast

.. toctree::
:maxdepth: 2

merlion.models.ensemble


.. toctree::
:maxdepth: 3

merlion.models.automl

.. toctree::
:maxdepth: 2

merlion.models.utils


Expand Down
18 changes: 13 additions & 5 deletions docs/source/merlion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,26 @@ The full API documentation is outlined below:
:undoc-members:
:show-inheritance:

.. toctree::
:maxdepth: 5

merlion.models

.. toctree::
:maxdepth: 3

merlion.models
merlion.dashboard
merlion.spark
merlion.transform

.. toctree::
:maxdepth: 2

merlion.post_process
merlion.evaluate

.. toctree::
:maxdepth: 1

merlion.plot

.. toctree::
:maxdepth: 2

merlion.utils

0 comments on commit 879e92e

Please sign in to comment.