{"id":13699264,"url":"https://github.com/DHI/tsod","last_synced_at":"2025-05-04T16:32:48.985Z","repository":{"id":43054927,"uuid":"328941699","full_name":"DHI/tsod","owner":"DHI","description":"Anomaly Detection for time series data","archived":false,"fork":false,"pushed_at":"2023-12-19T13:30:54.000Z","size":14876,"stargazers_count":163,"open_issues_count":5,"forks_count":18,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-09T18:39:10.473Z","etag":null,"topics":["outlier-detection","python","research","time-series"],"latest_commit_sha":null,"homepage":"https://dhi.github.io/tsod","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DHI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-01-12T09:53:32.000Z","updated_at":"2024-10-14T14:57:16.000Z","dependencies_parsed_at":"2023-12-18T10:43:36.638Z","dependency_job_id":null,"html_url":"https://github.com/DHI/tsod","commit_stats":{"total_commits":273,"total_committers":7,"mean_commits":39.0,"dds":0.6923076923076923,"last_synced_commit":"30248a17e88f5abb6247010b8053b3b0a34f4f3c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHI%2Ftsod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHI%2Ftsod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHI%2Ftsod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHI%2Ftsod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DHI","download_url":"https://codeload.github.com/DHI/tsod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224398823,"owners_count":17304661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["outlier-detection","python","research","time-series"],"created_at":"2024-08-02T20:00:28.688Z","updated_at":"2024-11-13T05:30:26.397Z","avatar_url":"https://github.com/DHI.png","language":"Python","readme":"\u003cimg src=\"https://raw.githubusercontent.com/DHI/tsod/main/images/logo/tsod.png\" width=\"600\"\u003e\n\n# tsod: Anomaly Detection for time series data.\n\n[![Full test](https://github.com/DHI/tsod/actions/workflows/test.yml/badge.svg)](https://github.com/DHI/tsod/actions/workflows/test.yml)\n[![PyPI version](https://badge.fury.io/py/tsod.svg)](https://badge.fury.io/py/tsod)\n![Python version](https://img.shields.io/pypi/pyversions/tsod.svg) \n\n![univariate](https://raw.githubusercontent.com/DHI/tsod/main/images/anomaly.png)\n\nSensors often provide faulty or missing observations. These anomalies must be detected automatically and replaced with more feasible values before feeding the data to numerical simulation engines as boundary conditions or real time decision systems.\n\nThis package aims to provide examples and algorithms for detecting anomalies in time series data specifically tailored to DHI users and the water domain. It is simple to install and deploy operationally and is accessible to everyone (open-source).\n\n## Getting Started\n\n* [Documentation](https://dhi.github.io/tsod/getting_started.html)\n* [Notebook](https://github.com/DHI/tsod/blob/main/notebooks/Getting%20started.ipynb) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/DHI/tsod/blob/main/notebooks/Getting%20started.ipynb)\n\n\n\n## Installation\n\n`tsod` is a pure Python library and runs on Windows, Linux and Mac.\n\nFrom PyPI:\n\n`pip install tsod`\n\nOr development version:\n\n`pip install https://github.com/DHI/tsod/archive/main.zip`\n\n\u003c!--\n## [Active learning web application](https://github.com/DHI/tsod/blob/main/tsod/active_learning/)\nThere is a web application that is developed using [Streamlit](https://streamlit.io/). It can be found [here]() \n--\u003e\n\n\n## Vision\n* A simple and consistent API for anomaly detection of timeseries\n* The computational speed will be good for typical timeseries data found in the water domain, to support realtime detection\n* It will have a suite of different algorithms ranging from simple rule-based to more advanced based on e.g. neural networks\n\n## Definitions\nNote that we distinguish between [two types of anomaly detection](https://scikit-learn.org/stable/modules/outlier_detection.html)\n\n- Outlier detection (unsupervised anomaly detection)\nThe training data may contain outliers, i.e. observations far from most other observations. Outlier detectors try to concentrate on the observations in the training data that similar and close together, and ignores observations further away.\n\n- Novelty detection (semi-supervised anomaly detection)\nThe training data is considered \"normal\" and is not polluted by outliers. New test data observations can be categorized as an outlier and is in this context called a novelty.\n\n\n## Contribute to `tsod`\n[Open in Visual Studio Code](https://open.vscode.dev/DHI/tsod)\n- Follow PEP8 code style. This is automatically checked during Pull Requests.\n\n- If citing or re-using other code please make sure their license is also consistent with our policy.\n","funding_links":[],"categories":["\u003cspan id=\"head75\"\u003e Outlier Detection\u003c/span\u003e","异常检测"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDHI%2Ftsod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDHI%2Ftsod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDHI%2Ftsod/lists"}