{"id":15662471,"url":"https://github.com/shchur/tpp-anomaly-detection","last_synced_at":"2025-05-06T00:54:39.509Z","repository":{"id":65906665,"uuid":"421161444","full_name":"shchur/tpp-anomaly-detection","owner":"shchur","description":"Implementation of \"Detecting Anomalous Event Sequences with Temporal Point Processes\" (NeurIPS 2021)","archived":false,"fork":false,"pushed_at":"2021-12-30T15:29:00.000Z","size":40192,"stargazers_count":24,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T00:54:32.428Z","etag":null,"topics":["anomaly-detection","out-of-distribution-detection","pytorch","temporal-point-process","temporal-point-processes"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shchur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-25T19:39:32.000Z","updated_at":"2024-10-05T04:32:30.000Z","dependencies_parsed_at":"2023-02-15T15:31:38.539Z","dependency_job_id":null,"html_url":"https://github.com/shchur/tpp-anomaly-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shchur%2Ftpp-anomaly-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shchur%2Ftpp-anomaly-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shchur%2Ftpp-anomaly-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shchur%2Ftpp-anomaly-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shchur","download_url":"https://codeload.github.com/shchur/tpp-anomaly-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252601684,"owners_count":21774659,"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":["anomaly-detection","out-of-distribution-detection","pytorch","temporal-point-process","temporal-point-processes"],"created_at":"2024-10-03T13:32:47.975Z","updated_at":"2025-05-06T00:54:38.988Z","avatar_url":"https://github.com/shchur.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detecting Anomalous Event Sequences with Temporal Point Processes\nPytorch implementation of the paper [\"Detecting Anomalous Event Sequences with Temporal Point Processes\"](https://papers.neurips.cc/paper/2021/hash/6faa8040da20ef399b63a72d0e4ab575-Abstract.html), by Oleksandr Shchur, Ali Caner Turkmen, Tim Januschowski, Jan Gasthaus, and Stephan Günnemann, NeurIPS 2021.\n\n\n## Installation\n1. Install the dependencies\n    ```\n    conda env create -f environment.yml\n    ```\n2. Activate the conda environment\n    ```\n    conda activate anomaly_tpp\n    ```\n3. Install the package (this command must be run in the `tpp-anomaly-detection` folder)\n    ```\n    pip install -e .\n    ```\n4. Unzip the data\n    ```\n    unzip data.zip\n    ```\n\n## Reproducing the results from the paper\n- `notebooks/spp_experiment.ipynb`: Standard Poisson process vs. other toy TPPs (Section 6.1 in the paper).\n- `notebooks/multivariate_experiment.ipynb`: Multivariate TPPs inspired by real-world scenarios (Section 6.2).\n- `notebooks/real_world_experiment.ipynb`: Real-world datasets (Section 6.3).\n\n\n## Citation\nPlease cite our paper if you use the code or the datasets in your own work\n\n```\n@article{\n    shchur2021detecting,\n    title={Detecting Anomalous Event Sequences with Temporal Point Processes},\n    author={Oleksandr Shchur and Ali Caner Turkmen and Tim Januschowski and Jan Gasthaus and and Stephan G\\\"{u}nemann},\n    journal={Advances in Neural Information Processing Systems (NeurIPS)},\n    year={2021},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshchur%2Ftpp-anomaly-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshchur%2Ftpp-anomaly-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshchur%2Ftpp-anomaly-detection/lists"}