Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
pyod — 표 형식, 시계열, 그래프, 텍스트, 이미지, 오디오 데이터에 걸친 이상 탐지를 위한 Python 라이브러리입니다. 60개 이상의 탐지기, 벤치마크 기반의 ADEngine 오케스트레이션, 그리고 AI 에이전트를 위한 에이전틱 워크플로우를 제공합니다. | Kitploit
도구/GitHubGitHub/yzhao062/pyod
Machine LearningAnomaly Detection
GitHubyzhao062/pyod

pyod

표 형식, 시계열, 그래프, 텍스트, 이미지, 오디오 데이터에 걸친 이상 탐지를 위한 Python 라이브러리입니다. 60개 이상의 탐지기, 벤치마크 기반의 ADEngine 오케스트레이션, 그리고 AI 에이전트를 위한 에이전틱 워크플로우를 제공합니다.

저장소 보기웹사이트
10.0k1.5k4일 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

.. image:: https://raw.githubusercontent.com/yzhao062/pyod/master/brand/pyod-icon.svg :target: https://pyod.dev :alt: PyOD Ecosystem :width: 84px

Python 이상치 탐지 (PyOD) 3

PyOD 3: 대규모 에이전트 기반 이상 탐지

|badge_website| |badge_pypi| |badge_anaconda| |badge_docs| |badge_stars| |badge_forks| |badge_downloads| |badge_testing| |badge_coverage| |badge_maintainability| |badge_license| |badge_benchmark|

.. |badge_website| image:: https://img.shields.io/badge/website-pyod.dev-990000 :target: https://pyod.dev :alt: Website

.. |badge_pypi| image:: https://img.shields.io/pypi/v/pyod.svg?color=brightgreen :target: https://pypi.org/project/pyod/ :alt: PyPI version

.. |badge_anaconda| image:: https://anaconda.org/conda-forge/pyod/badges/version.svg :target: https://anaconda.org/conda-forge/pyod :alt: Anaconda version

.. |badge_docs| image:: https://readthedocs.org/projects/pyod/badge/?version=latest :target: https://pyod.readthedocs.io/en/latest/?badge=latest :alt: Documentation status

.. |badge_stars| image:: https://img.shields.io/github/stars/yzhao062/pyod.svg :target: https://github.com/yzhao062/pyod/stargazers :alt: GitHub stars

.. |badge_forks| image:: https://img.shields.io/github/forks/yzhao062/pyod.svg?color=blue :target: https://github.com/yzhao062/pyod/network :alt: GitHub forks

.. |badge_downloads| image:: https://pepy.tech/badge/pyod :target: https://pepy.tech/project/pyod :alt: Downloads

.. |badge_testing| image:: https://github.com/yzhao062/pyod/actions/workflows/testing.yml/badge.svg :target: https://github.com/yzhao062/pyod/actions/workflows/testing.yml :alt: Testing

.. |badge_coverage| image:: https://coveralls.io/repos/github/yzhao062/pyod/badge.svg :target: https://coveralls.io/github/yzhao062/pyod :alt: Coverage Status

.. |badge_maintainability| image:: https://api.codeclimate.com/v1/badges/bdc3d8d0454274c753c4/maintainability :target: https://codeclimate.com/github/yzhao062/Pyod/maintainability :alt: Maintainability

.. |badge_license| image:: https://img.shields.io/github/license/yzhao062/pyod.svg :target: https://github.com/yzhao062/pyod/blob/master/LICENSE :alt: License

.. |badge_benchmark| image:: https://img.shields.io/badge/ADBench-benchmark_results-pink :target: https://github.com/Minqi824/ADBench :alt: Benchmark


root@kitploit:~
**PyOD는 에이전트를 지원합니다.** Claude Code와 Codex는 ``od-expert`` 스킬을 사용하여 ADEngine 조사를 수행할 수 있으며, MCP 호환 에이전트는 PyOD의 탐지기 지식 및 계획 도구를 쿼리할 수 있습니다. 기존의 ``fit``/``predict`` API는 그대로 유지됩니다.

PyOD 3는 이상 탐지를 위한 가장 포괄적인 Python 라이브러리입니다. 네 가지 핵심 축:

=========================== ======================================================================================== 영역 의미 =========================== ======================================================================================== 멀티모달 표형, 시계열, 그래프, 텍스트, 이미지, 오디오 데이터를 하나의 API로 처리하는 61개 탐지기 전체 수명 주기 원시 데이터부터 설명된 이상치와 다음 단계 안내까지 단일 호출로 처리 에이전트 기반 od-expert는 자연어 요청을 ADEngine 워크플로로 변환하고, MCP는 다른 에이전트를 위한 구조화된 도구를 제공 최다 사용 4,600만 회 이상 다운로드; 벤치마크 기반 라우팅 (ADBench, TSB-AD, BOND, NLP-ADBench) =========================== ========================================================================================

설치 ^^^^^^^

핵심 라이브러리 (모든 활성화 경로에 필요):

.. code-block:: bash

root@kitploit:~
pip install pyod

그런 다음 에이전트 스택에 맞는 활성화 경로를 선택하세요:

.. code-block:: bash

root@kitploit:~
# 1. Claude Code / Codex — enables the od-expert skill
pyod install skill              # Claude Code: user-global (~/.claude/skills/)
pyod install skill --project    # Codex: project-local (./skills/, Codex has no user-global dir)

# 2. Any MCP-compatible LLM — requires the optional mcp extra
pip install pyod[mcp]
pyod mcp serve                 # alias for `python -m pyod.mcp_server`

# 3. Pure Python — no extra step
#    from pyod.utils.ad_engine import ADEngine

pyod info를 실행하면 버전, 탐지기 수, 각 활성화 경로의 설치 상태를 확인할 수 있습니다. pyod info는 설치된 에이전트 스택(Claude Code의 ~/.claude/, Codex의 ~/.codex/)도 감지하여 올바른 설치 명령을 추천합니다.

conda, 소스 설치, 의존성 세부 정보 및 문제 해결은 전체 설치 가이드 <https://pyod.readthedocs.io/en/latest/install.html>__를 참조하세요. v3.0.0의 레거시 pyod-install-skill 명령은 pyod install skill의 별칭으로 계속 작동합니다.

5줄 코드로 하는 이상치 탐지 (pip install pyod):

.. code-block:: python

root@kitploit:~
from pyod.models.iforest import IForest
clf = IForest()
clf.fit(X_train)
y_train_scores = clf.decision_scores_          # training anomaly scores
y_test_scores = clf.decision_function(X_test)   # test anomaly scores

PyOD를 사용하는 세 가지 방법:

========= ===================== ====================================================================== ======================================= 계층 이름 사용 시점 진입점 ========= ===================== ====================================================================== ======================================= 1 클래식 API 사용하려는 탐지기를 아는 경우 계층 1 예제 <https://pyod.readthedocs.io/en/latest/examples/tabular.html>__ 2 ADEngine PyOD가 자동으로 선택, 비교, 평가해 주기를 원하는 경우 계층 2 튜토리얼 <https://pyod.readthedocs.io/en/latest/examples/adengine.html>__ 3 에이전트 기반 조사 AI 에이전트가 자연어 대화를 통해 OD를 수행하길 원하는 경우 계층 3 튜토리얼 <https://pyod.readthedocs.io/en/latest/examples/agentic.html>__ ========= ===================== ====================================================================== =======================================

계층 2와 3은 PyOD의 수명 주기 오케스트레이션 핵심인 ADEngine으로 구동됩니다. 계층 3의 전체 다중 턴 조사 흐름은 Claude Code 및 Codex용 od-expert 스킬을 통해 사용할 수 있습니다. MCP 서버(python -m pyod.mcp_server)는 MCP 호환 LLM을 위한 10개의 상태 비저장 도구를 제공하며, 지식 조회(list_detectors, explain_detector, compare_detectors, get_benchmarks), 계획(profile_data, plan_detection, build_detector), 탐지(run_detection, analyze_results, explain_findings)를 아우릅니다. 상태 저장형 investigate / MCP 도구는 나중에 제공될 예정입니다.

.. image:: https://raw.githubusercontent.com/yzhao062/pyod/development/docs/figs/agentic-demo.png :alt: PyOD 3 agentic investigation demo on cardiotocography dataset :align: center :width: 720

위 그림은 UCI Cardiotocography 데이터셋에서 수행된 실제 5턴 에이전트 대화를 보여줍니다. 전체 워크스루 <https://pyod.readthedocs.io/en/latest/examples/agentic.html>, 실행 가능한 에이전트 예제 <https://github.com/yzhao062/pyod/blob/development/examples/agentic_example.py>, 또는 대화형 HTML 데모 <https://htmlpreview.github.io/?https://github.com/yzhao062/pyod/blob/development/examples/agentic_demo.html>__를 참조하세요.

PyOD 생태계 및 리소스: NLP-ADBench <https://github.com/USC-FORTIS/NLP-ADBench>__ (NLP 이상 탐지) | TODS <https://github.com/datamllab/tods>__ (시계열) | PyGOD <https://pygod.org/>__ (그래프) | ADBench <https://github.com/Minqi824/ADBench>__ (벤치마크) | AD-LLM <https://arxiv.org/abs/2412.11142>__ (LLM 기반 이상 탐지) [#Yang2024ad]_ | 리소스 <https://github.com/yzhao062/anomaly-detection-resources>__


PyOD 소개 ^^^^^^^^^^

2017년에 설립된 PyOD는 가장 오래 운영되었고 가장 널리 사용되는 이상 탐지용 Python 라이브러리입니다. 4,600만 회 이상의 다운로드 <https://pepy.tech/project/pyod>를 기록하며 학술 연구(Analytics Vidhya <https://www.analyticsvidhya.com/blog/2019/02/outlier-detection-python-pyod/>, KDnuggets <https://www.kdnuggets.com/2019/02/outlier-detection-methods-cheat-sheet.html>__, Towards Data Science <https://towardsdatascience.com/anomaly-detection-for-dummies-15f148e559c1>__에 소개됨)와 상용 제품 모두에서 사용됩니다.

V3는 고전적인 fit/predict API를 완전히 하위 호환되도록 유지하면서 ADEngine(수명 주기 오케스트레이션)과 od-expert 스킬(에이전트 워크플로)을 추가합니다. V3는 빠른 병렬 학습을 위해 SUOD [#Zhao2021SUOD]_를 기반으로 하고, 모델별 속도 향상을 위해 numba JIT를 사용합니다.

영향 및 인정:

=================================== =========================================================================== 영역 사례 =================================== =========================================================================== 우주 및 과학 유럽 우주국(ESA) OPS-SAT 우주선 원격 측정 벤치마크 <https://www.nature.com/articles/s41597-025-05035-3>__ (Nature Scientific Data, 2025)는 30가지 전체 알고리즘에 PyOD를 사용합니다. 기업 배포 Walmart(일일 가격 업데이트 100만 건 이상, KDD 2019), Databricks(PyOD를 MLflow/Hyperopt와 통합한 Kakapo 프레임워크, 내부자 위협 탐지 솔루션), IQVIA(약국 청구 12만 3천 건 이상), Altair AI Studio, Ericsson(특허 WO2023166515A1 <https://patents.google.com/patent/WO2023166515A1>). 도서 Outlier Detection in Python <https://www.manning.com/books/outlier-detection-in-python> (Brett Kennedy, Manning); Handbook of Anomaly Detection with Python (Chris Kuo, Columbia); Finding Ghosts in Your Data <https://link.springer.com/book/10.1007/978-1-4842-8870-2>__ (Kevin Feasel, Apress). 강좌 DataCamp Anomaly Detection in Python <https://www.datacamp.com/courses/anomaly-detection-in-python>__ (플랫폼 학습자 1,900만 명 이상), Manning liveProject <https://www.manning.com/liveproject/using-pyod-and-ensembles-methods>, O'Reilly 비디오 에디션, 다수의 Udemy 강좌. 팟캐스트 Talk Python To Me #497 <https://talkpython.fm/episodes/show/497/outlier-detection-with-python>, 전체 문서 번역), 일본어, 한국어, 독일어, 스페인어. =================================== ===========================================================================

인용, 기업 배포, 특허, 언론 보도의 전체 목록은 Read the Docs의 전체 영향 페이지 <https://pyod.readthedocs.io/en/latest/impact.html>__를 참조하세요.

PyOD 인용:

과학 출판물에서 PyOD를 사용하신다면 다음 논문을 인용해 주시면 감사하겠습니다:

PyOD 2: A Python Library for Outlier Detection with LLM-powered Model Selection <https://arxiv.org/abs/2412.12154>__은 프리프린트로 제공됩니다. 과학 출판물에서 PyOD를 사용하신다면 다음 논문을 인용해 주시면 감사하겠습니다::

root@kitploit:~
@inproceedings{chen2025pyod,
  title={Pyod 2: A python library for outlier detection with llm-powered model selection},
  author={Chen, Sihan and Qian, Zhuangzhuang and Siu, Wingchun and Hu, Xingcan and Li, Jiaqi and Li, Shawn and Qin, Yuehan and Yang, Tiankai and Xiao, Zhuo and Ye, Wanghao and others},
  booktitle={Companion Proceedings of the ACM on Web Conference 2025},
  pages={2807--2810},
  year={2025}
}

PyOD 논문 <http://www.jmlr.org/papers/volume20/19-011/19-011.pdf>은 Journal of Machine Learning Research (JMLR) <http://www.jmlr.org/> (MLOSS 트랙)에 게재되었습니다.::

root@kitploit:~
@article{zhao2019pyod,
    author  = {Zhao, Yue and Nasrullah, Zain and Li, Zheng},
    title   = {PyOD: A Python Toolbox for Scalable Outlier Detection},
    journal = {Journal of Machine Learning Research},
    year    = {2019},
    volume  = {20},
    number  = {96},
    pages   = {1-7},
    url     = {http://jmlr.org/papers/v20/19-011.html}
}

또는::

root@kitploit:~
Zhao, Y., Nasrullah, Z. and Li, Z., 2019. PyOD: A Python Toolbox for Scalable Outlier Detection. Journal of machine learning research (JMLR), 20(96), pp.1-7.

이상 탐지에 대한 더 넓은 관점을 얻으려면 ADBench <https://arxiv.org/abs/2206.09426>__ [#Han2022ADBench]_ 및 ADGym <https://arxiv.org/abs/2309.15376>__에 관한 NeurIPS 논문을 참조하세요.

목차:

  • API 치트시트 및 참조 <#api-cheatsheet--reference>__
  • 벤치마크 <#benchmarks>__
  • 구현된 알고리즘 <#implemented-algorithms>__ (표형, 시계열, 그래프, 임베딩)
  • 추가 주제 <#additional-topics>__ (모델 저장/불러오기, SUOD, 임계값 설정)
  • 이상치 탐지 빠른 시작 <#quick-start-for-outlier-detection>__
  • 기여 방법 <#how-to-contribute>__
  • 포함 기준 <#inclusion-criteria>__

API 치트시트 및 참조 ^^^^^^^^^^^^^^^^^^^^^^^^^^

전체 API 참조는 PyOD Documentation <https://pyod.readthedocs.io/en/latest/>에서 모달리티별로 나뉩니다: Tabular <https://pyod.readthedocs.io/en/latest/pyod.models.tabular.html>, Time Series <https://pyod.readthedocs.io/en/latest/pyod.models.timeseries.html>, Graph <https://pyod.readthedocs.io/en/latest/pyod.models.graph.html>, Embedding <https://pyod.readthedocs.io/en/latest/pyod.models.embedding.html>, ADEngine <https://pyod.readthedocs.io/en/latest/pyod.ad_engine.html>, Utilities <https://pyod.readthedocs.io/en/latest/pyod.utils.html>__. 아래는 모든 탐지기에 대한 빠른 치트시트입니다:

  • fit(X) : 탐지기를 학습합니다. 비지도 방식에서는 y 매개변수가 무시됩니다.
  • decision_function(X) : 학습된 탐지기를 사용하여 X의 원시 이상 점수(raw anomaly score)를 예측합니다.
  • predict(X) : 학습된 탐지기를 사용하여 샘플이 이상치인지 여부를 이진 레이블로 판정합니다.
  • predict_proba(X) : 학습된 탐지기를 사용하여 샘플이 이상치일 확률을 추정합니다.
  • predict_confidence(X) : 모델의 신뢰도를 샘플별로 평가합니다 (predict 및 predict_proba에 적용 가능) [#Perini2020Quantifying]_.
  • predict_with_rejection(X) : 탐지기가 불확실성이 높은 예측을 기각(즉, 예측을 보류)할 수 있게 합니다 (출력 = -2) [#Perini2023Rejection]_.

학습된 모델의 주요 속성:

  • decision_scores_ : 학습 데이터의 이상 점수입니다. 점수가 높을수록 일반적으로 더 비정상적인 동작을 나타내며, 이상치는 대개 점수가 높습니다.
  • labels_ : 학습 데이터의 이진 레이블로, 0은 정상(inlier)을, 1은 이상치/이상(outlier/anomaly)을 나타냅니다.

벤치마크 ^^^^^^^^^^

  • ADBench <https://github.com/Minqi824/ADBench>__ [#Han2022ADBench]_: 57개 표형 데이터셋에 대한 30가지 알고리즘. 비교 <https://github.com/yzhao062/pyod/blob/master/examples/compare_all_models.py>__ 참조.
  • NLP-ADBench <https://github.com/USC-FORTIS/NLP-ADBench>__: 8개 텍스트 데이터셋에 대한 19가지 방법. 2단계(임베딩 + 탐지기) 방식이 end-to-end 방식보다 우수합니다.
  • TSB-AD <https://github.com/TheDatumOrg/TSB-AD>__ [#Liu2024TSB]_: 1070개 시계열 데이터셋에 대한 40가지 알고리즘 (NeurIPS 2024).
  • BOND <https://arxiv.org/abs/2206.10071>__ [#Liu2022BOND]_: 14개 데이터셋에 대한 14가지 그래프 이상 탐지 알고리즘 (NeurIPS 2022).

추가 주제 ^^^^^^^^^^^^^^^^^

  • 모델 저장 및 불러오기 <https://pyod.readthedocs.io/en/latest/model_persistence.html>: joblib 또는 pickle을 사용하여 PyOD 모델을 저장하고 불러올 수 있습니다. 예제 <https://github.com/yzhao062/pyod/blob/master/examples/save_load_model_example.py> 참조.
  • SUOD로 빠른 학습 <https://pyod.readthedocs.io/en/latest/fast_train.html>: SUOD 프레임워크로 학습 및 예측을 가속화합니다 [#Zhao2021SUOD]_. 예제 <https://github.com/yzhao062/pyod/blob/master/examples/suod_example.py> 참조.
  • 이상 점수 임계값 설정 <https://pyod.readthedocs.io/en/latest/thresholding.html>__: PyThresh <https://github.com/KulikDM/pythresh>__를 통해 오염 수준(contamination level)을 설정하는 데이터 기반 접근법.

구현된 알고리즘 ^^^^^^^^^^^^^^^^^^^^^^

PyOD는 두 가지 기능 그룹으로 구성됩니다: (i) 탐지 알고리즘(Detection Algorithms) — 표형, 시계열, 그래프, 오디오 데이터를 위한 전용 하위 섹션이 있으며(표형 테이블의 EmbeddingOD는 파운데이션 모델 인코더를 통해 텍스트 및 이미지 지원을 추가합니다); (ii) 유틸리티 함수(Utility Functions) — 데이터 생성, 평가, 수명 주기 오케스트레이션을 위한 함수입니다.

(i-a) 표형 및 멀티모달 탐지 알고리즘:

.. list-table:: :widths: 15 14 58 5 8 :header-rows: 1* - 유형 - 약어 - 알고리즘 - 연도 - 참조

    • 확률적
    • ECOD
    • 경험적 누적 분포 함수를 사용한 비지도 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ecod_example.py>__)
    • 2022
    • [#Li2021ECOD]_
    • 확률적
    • ABOD
    • 각도 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/abod_example.py>__)
    • 2008
    • [#Kriegel2008Angle]_
    • 확률적
    • FastABOD
    • 근사를 사용한 고속 각도 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/abod_example.py>__)
    • 2008
    • [#Kriegel2008Angle]_
    • 확률적
    • COPOD
    • COPOD: 코퓰라 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/copod_example.py>__)
    • 2020
    • [#Li2020COPOD]_
    • 확률적
    • MAD
    • 중앙 절대 편차 (MAD) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/mad_example.py>__)
    • 1993
    • [#Iglewicz1993How]_
    • 확률적
    • SOS
    • 확률적 이상치 선택 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/sos_example.py>__)

앙상블 방법(IForest, INNE, DIF, FB, LSCP, LODA, SUOD, XGBOD)은 위 표에 포함되어 있습니다. 점수 결합 함수(average, maximization, AOM, MOA, median, majority vote)는 pyod.models.combination에 있습니다. 자세한 내용은 API 문서 <https://pyod.readthedocs.io/en/latest/pyod.models.tabular.html>__를 참조하세요.

(i-b) 시계열 이상 탐지 :

모든 시계열 탐지기는 표 형식(tabular) 탐지기와 동일한 fit/predict/decision_function API를 사용합니다. 단, 한 가지 예외가 있습니다. MatrixProfile은 트랜스덕티브 방식입니다 (훈련 전용; fit() 후 decision_scores_와 labels_를 사용하며, 표본 외 predict는 없습니다).

입력 형식: 단변량의 경우 shape (n_timestamps,), 다변량의 경우 (n_timestamps, n_channels)인 numpy 배열입니다. 각 행은 하나의 타임스텝이며, 열은 채널/피처입니다. Pandas DataFrame과 리스트는 자동 변환됩니다. 출력: 타임스텝마다 하나의 이상 점수를 가진 shape (n_timestamps,)의 decision_scores_입니다.

3줄로 시계열 탐지하기:

.. code-block:: python

root@kitploit:~
from pyod.models.ts_kshape import KShape      # or any TS detector
clf = KShape(window_size=20)
clf.fit(X_train)                               # shape (n_timestamps,) or (n_timestamps, n_channels)
scores = clf.decision_scores_                  # per-timestamp anomaly scores

TSB-AD 벤치마크 <https://github.com/TheDatumOrg/TSB-AD>__ [#Liu2024TSB]_ (NeurIPS 2024, 1070개 데이터셋) 기준 알고리즘 순위:

.. list-table:: :widths: 15 18 50 5 12 :header-rows: 1

    • 유형
    • 약어
    • 알고리즘
    • 연도
    • 참조
    • 윈도우 브리지
    • TimeSeriesOD
    • 슬라이딩 윈도우에서 작동하는 모든 PyOD 탐지기 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ts_od_example.py>__)
    • 2026
    • 부분 시퀀스
    • MatrixProfile
    • STOMP 기반 Matrix Profile, 트랜스덕티브 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ts_matrix_profile_example.py>__)
    • 2016
    • [#Yeh2016Matrix]_
    • 주파수
    • SpectralResidual
    • Spectral Residual: FFT 기반 현저성 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ts_spectral_residual_example.py>__)
    • 2019
    • [#Ren2019Time]_
    • 클러스터링
    • KShape
    • k-Shape 클러스터링 (TSB-AD 2위) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ts_kshape_example.py>__)
    • 2015
    • [#Paparrizos2015KShape]_
    • 스트리밍
    • SAND
    • 드리프트 적응형 스트리밍(실험적) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ts_sand_example.py>__)
    • 2021
    • [#Boniol2021SAND]_
    • 딥러닝
    • LSTMAD
    • LSTM 예측 오차 + 마할라노비스 점수

(i-c) 그래프 이상 탐지 (pip install pyod[graph]):

v1에서 모든 그래프 탐지기는 트랜스덕티브 방식입니다. fit() 후 decision_scores_와 labels_를 사용합니다. 표본 외 predict는 없습니다. 입력: x(노드 피처)와 edge_index(COO 간선)를 포함하는 PyG Data 객체입니다. SCAN은 피처 없이도 작동합니다.

3줄로 그래프 탐지하기 (pip install pyod[graph]):

.. code-block:: python

root@kitploit:~
from pyod.models.pyg_dominant import DOMINANT
clf = DOMINANT(hidden_dim=64, epochs=100)
clf.fit(data)                                  # PyG Data object
scores = clf.decision_scores_                  # per-node anomaly scores

BOND 벤치마크 <https://arxiv.org/abs/2206.10071>__ [#Liu2022BOND]_ (NeurIPS 2022, 14개 데이터셋) 기준 알고리즘 순위:

.. list-table:: :widths: 18 18 45 5 14 :header-rows: 1

    • 유형
    • 약어
    • 알고리즘
    • 연도
    • 참조
    • GCN 오토인코더
    • DOMINANT
    • GCN AE, 구조 + 속성 재구성 (BOND 딥 1위) (dominant 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_dominant_example.py>__)
    • 2019
    • [#Ding2019DOMINANT]_
    • 대조 학습
    • CoLA
    • 대조적 자기지도, 로컬 이웃 컨텍스트 (BOND 딥 2위) (cola 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_cola_example.py>__)
    • 2022
    • [#Liu2022CoLA]_
    • 대조+AE
    • CONAD
    • 이상 뷰 주입을 포함한 대조 학습 + 이중 재구성 (conad 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_conad_example.py>__)
    • 2022
    • [#Xu2022CONAD]_
    • 어텐션 AE
    • AnomalyDAE
    • GAT 구조 인코더 + MLP 속성 인코더 (anomalydae 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_anomalydae_example.py>__)
    • 2020
    • [#Fan2020AnomalyDAE]_
    • 모티프 AE
    • GUIDE
    • 원본 + 삼각형 모티프 인접 행렬에 대한 이중 GCN AE (guide 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_guide_example.py>__)
    • 2021
    • [#Yuan2021GUIDE]_
    • 행렬 분해

(i-d) 오디오 이상 탐지 (pip install pyod[audio]):

오디오 클립은 동일한 fit/decision_function API를 사용합니다. 두 가지 경로를 사용할 수 있습니다. 가벼운 임베딩 후 탐지(embed-then-detect) 경로(EmbeddingOD.for_audio()는 각 클립을 74차원 수작업 설계 음향 벡터로 변환하고 일반적인 탐지기를 실행)와 전용 딥 탐지기(AudioAE, 로그-멜 재구성 오토인코더)가 있습니다. 입력은 파일 경로, 파형 배열 또는 (waveform, sample_rate) 튜플입니다. 출력: 클립당 하나의 이상 점수입니다.

3줄로 오디오 탐지하기 (pip install pyod[audio]):

.. code-block:: python

root@kitploit:~
from pyod.models.embedding import EmbeddingOD
clf = EmbeddingOD.for_audio('balanced')        # 74-dim handcrafted features + KNN
clf.fit(train_clips)                            # list of file paths or waveform arrays
scores = clf.decision_scores_                  # per-clip anomaly scores

.. list-table:: :widths: 18 18 45 5 14 :header-rows: 1

    • 유형
    • 약어
    • 알고리즘
    • 연도
    • 참조
    • 임베딩 후 탐지
    • EmbeddingOD
    • for_audio(): 74차원 MFCC, chroma 및 spectral 피처를 모든 탐지기와 함께 사용
    • 2026
    • 딥 AE
    • AudioAE
    • 로그-멜 재구성 오토인코더 (DCASE 2020 Task 2 베이스라인)
    • 2020

(ii) 유틸리티 함수:=================== ============================ ===================================================================================================================================================== 유형 이름 기능 =================== ============================ ===================================================================================================================================================== 데이터 generate_data 합성 데이터 생성; 다변량 가우시안에서 추출한 정상 데이터, 균등 분포에서 추출한 이상치 데이터 generate_data_clusters 더 복잡한 패턴을 위한 클러스터 형태의 합성 데이터 생성 평가 evaluate_print 탐지기에 대한 ROC-AUC 및 Precision @ Rank n 출력 평가 precision_n_scores Precision @ Rank n 계산 유틸리티 get_label_n 상위 n개 점수에 1을 할당하여 원시 이상치 점수를 이진 레이블로 변환 통계 wpearsonr 두 표본의 가중치 적용 Pearson 상관 계수 계산 인코딩 resolve_encoder 문자열 이름, BaseEncoder 인스턴스 또는 콜러블에서 인코더 확인 인코딩 SentenceTransformerEncoder sentence-transformers 모델(예: MiniLM, mpnet)을 통해 텍스트 인코딩 인코딩 OpenAIEncoder OpenAI Embeddings API(text-embedding-3-small/large)를 통해 텍스트 인코딩 인코딩 HuggingFaceEncoder HuggingFace transformers(BERT, DINOv2, CLIP)를 통해 텍스트 또는 이미지 인코딩 =================== ============================ =====================================================================================================================================================


이상치 탐지 빠른 시작 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

PyOD는 머신러닝 커뮤니티에서 여러 특집 게시물과 튜토리얼을 통해 널리 인정받아 왔습니다.

Analytics Vidhya: PyOD 라이브러리를 사용하여 Python에서 이상치 탐지를 배우는 멋진 튜토리얼 <https://www.analyticsvidhya.com/blog/2019/02/outlier-detection-python-pyod/>__

KDnuggets: 이상치 탐지 방법의 직관적인 시각화 <https://www.kdnuggets.com/2019/02/outlier-detection-methods-cheat-sheet.html>, PyOD의 이상치 탐지 방법 개요 <https://www.kdnuggets.com/2019/06/overview-outlier-detection-methods-pyod.html>

Towards Data Science: 초보자를 위한 이상 탐지 <https://towardsdatascience.com/anomaly-detection-for-dummies-15f148e559c1>__

"examples/knn_example.py" <https://github.com/yzhao062/pyod/blob/master/examples/knn_example.py>__ 는 kNN 탐지기 사용의 기본 API를 보여줍니다. 다른 모든 알고리즘의 API도 일관되거나 유사하다는 점에 유의하세요.

실행 예제에 대한 더 자세한 지침은 examples 디렉토리 <https://github.com/yzhao062/pyod/blob/master/examples>_에서 확인할 수 있습니다.

#. kNN 탐지기를 초기화하고, 모델을 피팅하고, 예측을 수행합니다.

.. code-block:: python

root@kitploit:~
   from pyod.models.knn import KNN   # kNN detector
   from pyod.utils.data import generate_data

   contamination = 0.1  # percentage of outliers
   n_train = 200  # number of training points
   n_test = 100  # number of testing points

   # generate sample data
   X_train, X_test, y_train, y_test = generate_data(
       n_train=n_train, n_test=n_test, n_features=2,
       contamination=contamination, random_state=42)

   # train kNN detector
   clf_name = 'KNN'
   clf = KNN()
   clf.fit(X_train)

   # get the prediction label and outlier scores of the training data
   y_train_pred = clf.labels_  # binary labels (0: inliers, 1: outliers)
   y_train_scores = clf.decision_scores_  # raw outlier scores

   # get the prediction on the test data
   y_test_pred = clf.predict(X_test)  # outlier labels (0 or 1)
   y_test_scores = clf.decision_function(X_test)  # outlier scores

   # it is possible to get the prediction confidence as well
   y_test_pred, y_test_pred_confidence = clf.predict(X_test, return_confidence=True)  # outlier labels (0 or 1) and confidence in the range of [0,1]

#. ROC와 Precision @ Rank n(p@n)으로 예측을 평가합니다.

.. code-block:: python

root@kitploit:~
   from pyod.utils.data import evaluate_print
   
   # evaluate and print the results
   print("\nOn Training Data:")
   evaluate_print(clf_name, y_train, y_train_scores)
   print("\nOn Test Data:")
   evaluate_print(clf_name, y_test, y_test_scores)

#. 샘플 출력 및 시각화를 확인합니다.

.. code-block:: python

root@kitploit:~
   On Training Data:
   KNN ROC:0.9992, precision @ rank n:0.95

   On Test Data:
   KNN ROC:1.0, precision @ rank n:1.0

.. code-block:: python

root@kitploit:~
   from pyod.utils.example import visualize

   visualize(clf_name, X_train, y_train, X_test, y_test, y_train_pred,
       y_test_pred, show_figure=True, save_figure=False)

감사의 말 ^^^^^^^^^^^^^^^

이 자료는 미국 국립과학재단(National Science Foundation)의 지원을 받아 수행된 연구 결과입니다. 과제 번호 2346158 <https://www.nsf.gov/awardsearch/showAward?AWD_ID=2346158>_ "NSF POSE: Phase II: OpenAD: An Integrated Open-Source Ecosystem for Anomaly Detection." 프로젝트에 대한 지원입니다. 본 과제는 University of Illinois Chicago를 주관 기관으로 하며, Illinois Institute of Technology, Lehigh University, University of Southern California가 하위 수혜 기관으로 등재되어 있습니다.

이 자료에 표현된 모든 의견, 발견, 결론 또는 권고 사항은 저자(들)의 것이며, 미국 국립과학재단(National Science Foundation)의 견해를 반드시 반영하는 것은 아닙니다.


참고문헌 ^^^^^^^^^

.. [#Aggarwal2015Outlier] Aggarwal, C.C., 2015. Outlier analysis. In Data mining (pp. 237-263). Springer, Cham.

.. [#Aggarwal2015Theoretical] Aggarwal, C.C. and Sathe, S., 2015. Theoretical foundations and algorithms for outlier ensembles.\ ACM SIGKDD Explorations Newsletter\ , 17(1), pp.24-47.

.. [#Aggarwal2017Outlier] Aggarwal, C.C. and Sathe, S., 2017. Outlier ensembles: An introduction. Springer.

.. [#Almardeny2020A] Almardeny, Y., Boujnah, N. and Cleary, F., 2020. A Novel Outlier Detection Method for Multivariate Data. IEEE Transactions on Knowledge and Data Engineering.

.. [#Angiulli2002Fast] Angiulli, F. and Pizzuti, C., 2002, August. Fast outlier detection in high dimensional spaces. In European Conference on Principles of Data Mining and Knowledge Discovery pp. 15-27.

.. [#Arning1996A] Arning, A., Agrawal, R. and Raghavan, P., 1996, August. A Linear Method for Deviation Detection in Large Databases. In KDD (Vol. 1141, No. 50, pp. 972-981).

.. [#Bandaragoda2018Isolation] Bandaragoda, T. R., Ting, K. M., Albrecht, D., Liu, F. T., Zhu, Y., and Wells, J. R., 2018, Isolation-based anomaly detection using nearest-neighbor ensembles. Computational Intelligence\ , 34(4), pp. 968-998.

.. [#Breunig2000LOF] Breunig, M.M., Kriegel, H.P., Ng, R.T. and Sander, J., 2000, May. LOF: identifying density-based local outliers. ACM Sigmod Record\ , 29(2), pp. 93-104.

.. [#Burgess2018Understanding] Burgess, Christopher P., et al. "Understanding disentangling in beta-VAE." arXiv preprint arXiv:1804.03599 (2018).

.. [#Campello2013Density] Campello, R.J.G.B., Moulavi, D. and Sander, J., 2013, April. Density-based clustering based on hierarchical density estimates. In Pacific-Asia Conference on Knowledge Discovery and Data Mining (pp. 160-172). Springer.

.. [#Cook1977Detection] Cook, R.D., 1977. Detection of influential observation in linear regression. Technometrics, 19(1), pp.15-18.

.. [#Chen2024PyOD] Chen, S., Qian, Z., Siu, W., Hu, X., Li, J., Li, S., Qin, Y., Yang, T., Xiao, Z., Ye, W. and Zhang, Y., 2024. PyOD 2: A Python Library for Outlier Detection with LLM-powered Model Selection. arXiv preprint arXiv:2412.12154.

.. [#Fang2001Wrap] Fang, K.T. and Ma, C.X., 2001. Wrap-around L2-discrepancy of random sampling, Latin hypercube and uniform designs. Journal of complexity, 17(4), pp.608-624.

.. [#Goldstein2012Histogram] Goldstein, M. and Dengel, A., 2012. Histogram-based outlier score (hbos): A fast unsupervised anomaly detection algorithm. In KI-2012: Poster and Demo Track\ , pp.59-63.

.. [#Goodge2022Lunar] Goodge, A., Hooi, B., Ng, S.K. and Ng, W.S., 2022, June. Lunar: Unifying local outlier detection methods via graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence.

.. [#Gopalan2019PIDForest] Gopalan, P., Sharan, V. and Wieder, U., 2019. PIDForest: Anomaly Detection via Partial Identification. In Advances in Neural Information Processing Systems, pp. 15783-15793.

.. [#Han2022ADBench] Han, S., Hu, X., Huang, H., Jiang, M. and Zhao, Y., 2022. ADBench: Anomaly Detection Benchmark. arXiv preprint arXiv:2206.09426.

.. [#Hardin2004Outlier] Hardin, J. and Rocke, D.M., 2004. Outlier detection in the multiple cluster setting using the minimum covariance determinant estimator. Computational Statistics & Data Analysis\ , 44(4), pp.625-638.

.. [#He2003Discovering] He, Z., Xu, X. and Deng, S., 2003. Discovering cluster-based local outliers. Pattern Recognition Letters\ , 24(9-10), pp.1641-1650.

.. [#Hoffmann2007Kernel] Hoffmann, H., 2007. Kernel PCA for novelty detection. Pattern recognition, 40(3), pp.863-874.

.. [#Iglewicz1993How] Iglewicz, B. and Hoaglin, D.C., 1993. How to detect and handle outliers (Vol. 16). Asq Press.

.. [#Janssens2012Stochastic] Janssens, J.H.M., Huszár, F., Postma, E.O. and van den Herik, H.J., 2012. Stochastic outlier selection. Technical report TiCC TR 2012-001, Tilburg University, Tilburg Center for Cognition and Communication, Tilburg, The Netherlands.

.. [#Kingma2013Auto] Kingma, D.P. and Welling, M., 2013. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114.

.. [#Kriegel2008Angle] Kriegel, H.P. and Zimek, A., 2008, August. Angle-based outlier detection in high-dimensional data. In KDD '08\ , pp. 444-452. ACM.

.. [#Kriegel2009Outlier] Kriegel, H.P., Kröger, P., Schubert, E. and Zimek, A., 2009, April. Outlier detection in axis-parallel subspaces of high dimensional data. In Pacific-Asia Conference on Knowledge Discovery and Data Mining\ , pp. 831-838. Springer, Berlin, Heidelberg.

.. [#Latecki2007Outlier] Latecki, L.J., Lazarevic, A. and Pokrajac, D., 2007, July. Outlier detection with kernel density functions. In International Workshop on Machine Learning and Data Mining in Pattern Recognition (pp. 61-75). Springer, Berlin, Heidelberg.

.. [#Lazarevic2005Feature] Lazarevic, A. and Kumar, V., 2005, August. Feature bagging for outlier detection. In KDD '05. 2005.

.. [#Li2024NLPADBench] Li, Y., Li, J., Xiao, Z., Yang, T., Nian, Y., Hu, X. and Zhao, Y., 2025. NLP-ADBench: NLP Anomaly Detection Benchmark. In Findings of the Association for Computational Linguistics: EMNLP 2025.

.. [#Li2019MADGAN] Li, D., Chen, D., Jin, B., Shi, L., Goh, J. and Ng, S.K., 2019, September. MAD-GAN: Multivariate anomaly detection for time series data with generative adversarial networks. In International Conference on Artificial Neural Networks (pp. 703-716). Springer, Cham.

.. [#Li2020COPOD] Li, Z., Zhao, Y., Botta, N., Ionescu, C. and Hu, X. COPOD: Copula-Based Outlier Detection. IEEE International Conference on Data Mining (ICDM), 2020.

.. [#Li2021ECOD] Li, Z., Zhao, Y., Hu, X., Botta, N., Ionescu, C. and Chen, H. G. ECOD: Unsupervised Outlier Detection Using Empirical Cumulative Distribution Functions. IEEE Transactions on Knowledge and Data Engineering (TKDE), 2022.

.. [#Liu2008Isolation] Liu, F.T., Ting, K.M. and Zhou, Z.H., 2008, December. Isolation forest. In International Conference on Data Mining\ , pp. 413-422. IEEE.

.. [#Liu2019Generative] Liu, Y., Li, Z., Zhou, C., Jiang, Y., Sun, J., Wang, M. and He, X., 2019. Generative adversarial active learning for unsupervised outlier detection. IEEE Transactions on Knowledge and Data Engineering.

.. [#Nguyen2019scalable] Nguyen, M.N. and Vien, N.A., 2019. Scalable and interpretable one-class svms with deep learning and random fourier features. In Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD, 2018.

.. [#Pang2019Deep] Pang, Guansong, Chunhua Shen, and Anton Van Den Hengel. "Deep anomaly detection with deviation networks." In KDD, pp. 353-362. 2019.

.. [#Papadimitriou2003LOCI] Papadimitriou, S., Kitagawa, H., Gibbons, P.B. and Faloutsos, C., 2003, March. LOCI: Fast outlier detection using the local correlation integral. In ICDE '03, pp. 315-326. IEEE.

.. [#Pevny2016Loda] Pevný, T., 2016. Loda: Lightweight on-line detector of anomalies. Machine Learning, 102(2), pp.275-304.

.. [#Perini2020Quantifying] Perini, L., Vercruyssen, V., Davis, J. Quantifying the confidence of anomaly detectors in their example-wise predictions. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases (ECML-PKDD), 2020.

.. [#Perini2023Rejection] Perini, L., Davis, J. Unsupervised anomaly detection with rejection. In Proceedings of the Thirty-Seven Conference on Neural Information Processing Systems (NeurIPS), 2023.

.. [#Ramaswamy2000Efficient] Ramaswamy, S., Rastogi, R. and Shim, K., 2000, May. Efficient algorithms for mining outliers from large data sets. ACM Sigmod Record\ , 29(2), pp. 427-438.

.. [#Rousseeuw1999A] Rousseeuw, P.J. and Driessen, K.V., 1999. A fast algorithm for the minimum covariance determinant estimator. Technometrics\ , 41(3), pp.212-223.

.. [#Ruff2018Deep] Ruff, L., Vandermeulen, R., Goernitz, N., Deecke, L., Siddiqui, S.A., Binder, A., Müller, E. and Kloft, M., 2018, July. Deep one-class classification. In International conference on machine learning (pp. 4393-4402). PMLR.

.. [#Schlegl2017Unsupervised] Schlegl, T., Seeböck, P., Waldstein, S.M., Schmidt-Erfurth, U. and Langs, G., 2017, June. Unsupervised anomaly detection with generative adversarial networks to guide marker discovery. In International conference on information processing in medical imaging (pp. 146-157). Springer, Cham.

.. [#Scholkopf2001Estimating] Scholkopf, B., Platt, J.C., Shawe-Taylor, J., Smola, A.J. and Williamson, R.C., 2001. Estimating the support of a high-dimensional distribution. Neural Computation, 13(7), pp.1443-1471.

.. [#Shyu2003A] Shyu, M.L., Chen, S.C., Sarinnapakorn, K. and Chang, L., 2003. A novel anomaly detection scheme based on principal component classifier. MIAMI UNIV CORAL GABLES FL DEPT OF ELECTRICAL AND COMPUTER ENGINEERING.

.. [#Sugiyama2013Rapid] Sugiyama, M. and Borgwardt, K., 2013. Rapid distance-based outlier detection via sampling. Advances in neural information processing systems, 26.

.. [#Tang2002Enhancing] Tang, J., Chen, Z., Fu, A.W.C. and Cheung, D.W., 2002, May. Enhancing effectiveness of outlier detections for low density patterns. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 535-548. Springer, Berlin, Heidelberg.

.. [#Wang2020adVAE] Wang, X., Du, Y., Lin, S., Cui, P., Shen, Y. and Yang, Y., 2019. adVAE: A self-adversarial variational autoencoder with Gaussian anomaly prior knowledge for anomaly detection. Knowledge-Based Systems.

.. [#Xu2023Deep] Xu, H., Pang, G., Wang, Y., Wang, Y., 2023. Deep isolation forest for anomaly detection. IEEE Transactions on Knowledge and Data Engineering.

.. [#Yang2024ad] Yang, T., Nian, Y., Li, S., Xu, R., Li, Y., Li, J., Xiao, Z., Hu, X., Rossi, R., Ding, K. and Hu, X., 2024. AD-LLM: Benchmarking Large Language Models for Anomaly Detection. arXiv preprint arXiv:2412.11142.

.. [#You2017Provable] You, C., Robinson, D.P. and Vidal, R., 2017. Provable self-representation based outlier detection in a union of subspaces. In Proceedings of the IEEE conference on computer vision and pattern recognition.

.. [#Zenati2018Adversarially] Zenati, H., Romain, M., Foo, C.S., Lecouat, B. and Chandrasekhar, V., 2018, November. Adversarially learned anomaly detection. In 2018 IEEE International conference on data mining (ICDM) (pp. 727-736). IEEE.

.. [#Zhao2018XGBOD] Zhao, Y. and Hryniewicki, M.K. XGBOD: Improving Supervised Outlier Detection with Unsupervised Representation Learning. IEEE International Joint Conference on Neural Networks\ , 2018.

.. [#Zhao2019LSCP] Zhao, Y., Nasrullah, Z., Hryniewicki, M.K. and Li, Z., 2019, May. LSCP: Locally selective combination in parallel outlier ensembles. In Proceedings of the 2019 SIAM International Conference on Data Mining (SDM), pp. 585-593. Society for Industrial and Applied Mathematics.

.. [#Zhao2021SUOD] Zhao, Y., Hu, X., Cheng, C., Wang, C., Wan, C., Wang, W., Yang, J., Bai, H., Li, Z., Xiao, C., Wang, Y., Qiao, Z., Sun, J. and Akoglu, L. (2021). SUOD: Accelerating Large-scale Unsupervised Heterogeneous Outlier Detection. Conference on Machine Learning and Systems (MLSys).

.. [#Boniol2021SAND] Boniol, P., Paparrizos, J., Palpanas, T. and Franklin, M.J., 2021. SAND: Streaming Subsequence Anomaly Detection. Proceedings of the VLDB Endowment, 14(10), pp.1717-1729.

.. [#Malhotra2015Long] Malhotra, P., Vig, L., Shroff, G. and Agarwal, P., 2015. Long Short Term Memory Networks for Anomaly Detection in Time Series. In European Symposium on Artificial Neural Networks (ESANN).

.. [#Paparrizos2015KShape] Paparrizos, J. and Gravano, L., 2015. k-Shape: Efficient and Accurate Clustering of Time Series. In Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, pp.1855-1870.

.. [#Ren2019Time] Ren, H., Xu, B., Wang, Y., Yi, C., Huang, C., Kou, X., Xing, T., Yang, M., Tong, J. and Zhang, Q., 2019. Time-Series Anomaly Detection Service at Microsoft. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp.3009-3017.

.. [#Xu2022Anomaly] Xu, J., Wu, H., Wang, J. and Long, M., 2022. Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy. In International Conference on Learning Representations (ICLR).

.. [#Yeh2016Matrix] Yeh, C.C.M., Zhu, Y., Ulanova, L., Begum, N., Ding, Y., Dau, H.A., Silva, D.F., Mueen, A. and Keogh, E., 2016. Matrix Profile I: All Pairs Similarity Joins for Time Series Subsequences. In 2016 IEEE 16th International Conference on Data Mining (ICDM), pp.1317-1322.

.. [#Ding2019DOMINANT] Ding, K., Li, J., Bhanushali, R. and Liu, H., 2019. Deep Anomaly Detection on Attributed Networks. In Proceedings of the 2019 SIAM International Conference on Data Mining, pp.594-602. SIAM.

.. [#Liu2022CoLA] Liu, Y., Li, Z., Pan, S., Gool, T., Xiang, T. and Gong, B., 2022. Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning. In Proceedings of the ACM Web Conference 2022, pp.2137-2147.

.. [#Xu2022CONAD] Xu, Z., Huang, X., Zhao, Y., Dong, Y. and Li, J., 2022. Contrastive Attributed Network Anomaly Detection with Data Augmentation. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp.444-457. Springer.

.. [#Fan2020AnomalyDAE] Fan, H., Zhang, F. and Li, Z., 2020. AnomalyDAE: Dual Autoencoder for Anomaly Detection on Attributed Networks. In Proceedings of the 29th ACM International Conference on Information and Knowledge Management, pp.747-756.

.. [#Yuan2021GUIDE] Yuan, X., Zhou, N., Yu, S., Huang, H., Chen, Z. and Xia, F., 2021. Higher-Order Structure Based Anomaly Detection on Attributed Networks. In 2021 IEEE International Conference on Big Data, pp.2691-2700. IEEE... [#Li2017Radar] Li, J., Dani, H., Hu, X. and Liu, H., 2017. Radar: Residual Analysis for Anomaly Detection in Attributed Networks. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, pp.2152-2158.

.. [#Peng2018ANOMALOUS] Peng, Z., Luo, M., Li, J., Liu, H. and Zheng, Q., 2018. ANOMALOUS: A Joint Modeling Approach for Anomaly Detection on Attributed Networks. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, pp.3529-3535.

.. [#Xu2007SCAN] Xu, X., Yuruk, N., Feng, Z. and Schweiger, T.A.J., 2007. SCAN: A Structural Clustering Algorithm for Networks. In Proceedings of the 13th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp.824-833.

.. [#Liu2024TSB] Liu, Q., Boniol, P., Palpanas, T. and Paparrizos, J., 2024. TSB-AD: Towards A Reliable Time-Series Anomaly Detection Benchmark. In Advances in Neural Information Processing Systems (NeurIPS).

.. [#Liu2022BOND] Liu, K., Dou, Y., Zhao, Y., Ding, X., Hu, X., Zhang, R., Ding, K., Chen, C., Peng, H., Shu, K., Sun, L., Li, J., Chen, G.H., Jia, Z. and Yu, P.S., 2022. BOND: Benchmarking Unsupervised Outlier Node Detection on Static Attributed Graphs. In Advances in Neural Information Processing Systems (NeurIPS).

도구 다운로드
iterate
Real Python Podcast #208 <https://realpython.com/podcasts/rpp/208/>
. 국제화 비영어권 5개 언어 튜토리얼: 중국어(CSDN, Zhihu, 搜狐, 机器之心, aidoczh.com <https://www.aidoczh.com>
  • 2012
  • [#Janssens2012Stochastic]_
    • 확률적
    • QMCD
    • 준몬테카를로 불일치 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/qmcd_example.py>__)
    • 2001
    • [#Fang2001Wrap]_
    • 확률적
    • KDE
    • 커널 밀도 함수 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/kde_example.py>__)
    • 2007
    • [#Latecki2007Outlier]_
    • 확률적
    • Sampling
    • 샘플링을 통한 고속 거리 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/sampling_example.py>__)
    • 2013
    • [#Sugiyama2013Rapid]_
    • 확률적
    • GMM
    • 이상치 분석을 위한 확률적 혼합 모델링 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/gmm_example.py>__)
    • [#Aggarwal2015Outlier]_ [Ch.2]
    • 선형 모델
    • PCA
    • 주성분 분석 (고유벡터 초평면에 투영된 가중 거리의 합) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/pca_example.py>__)
    • 2003
    • [#Shyu2003A]_
    • 선형 모델
    • KPCA
    • 커널 주성분 분석 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/kpca_example.py>__)
    • 2007
    • [#Hoffmann2007Kernel]_
    • 선형 모델
    • MCD
    • 최소 공분산 행렬식 (마할라노비스 거리를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/mcd_example.py>__)
    • 1999
    • [#Hardin2004Outlier]_ [#Rousseeuw1999A]_
    • 선형 모델
    • CD
    • 이상치 탐지를 위한 쿡의 거리 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/cd_example.py>__)
    • 1977
    • [#Cook1977Detection]_
    • 선형 모델
    • OCSVM
    • 원-클래스 서포트 벡터 머신 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ocsvm_example.py>__)
    • 2001
    • [#Scholkopf2001Estimating]_
    • 선형 모델
    • LMDD
    • 편차 기반 이상치 탐지 (LMDD) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/lmdd_example.py>__)
    • 1996
    • [#Arning1996A]_
    • 근접성 기반
    • LOF
    • 로컬 이상치 요인 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/lof_example.py>__)
    • 2000
    • [#Breunig2000LOF]_
    • 근접성 기반
    • COF
    • 연결성 기반 이상치 요인 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/cof_example.py>__)
    • 2002
    • [#Tang2002Enhancing]_
    • 근접성 기반
    • (증분) COF
    • 메모리 효율적 연결성 기반 이상치 요인 (더 느리지만 저장 공간 절약) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/cof_example.py>__)
    • 2002
    • [#Tang2002Enhancing]_
    • 근접성 기반
    • CBLOF
    • 클러스터링 기반 로컬 이상치 요인 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/cblof_example.py>__)
    • 2003
    • [#He2003Discovering]_
    • 근접성 기반
    • LOCI
    • LOCI: 로컬 상관 적분을 통한 고속 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/loci_example.py>__)
    • 2003
    • [#Papadimitriou2003LOCI]_
    • 근접성 기반
    • HBOS
    • 히스토그램 기반 이상치 점수 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/hbos_example.py>__)
    • 2012
    • [#Goldstein2012Histogram]_
    • 근접성 기반
    • HDBSCAN
    • 계층적 밀도 추정을 통한 밀도 기반 클러스터링 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/hdbscan_example.py>__)
    • 2013
    • [#Campello2013Density]_
    • 근접성 기반
    • kNN
    • k 최근접 이웃 (k번째 이웃까지의 거리를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/knn_example.py>__)
    • 2000
    • [#Ramaswamy2000Efficient]_
    • 근접성 기반
    • AvgKNN
    • 평균 kNN (k개 이웃까지의 평균 거리를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/knn_example.py>__)
    • 2002
    • [#Angiulli2002Fast]_
    • 근접성 기반
    • MedKNN
    • 중앙값 kNN (k개 이웃까지의 중앙값 거리를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/knn_example.py>__)
    • 2002
    • [#Angiulli2002Fast]_
    • 근접성 기반
    • SOD
    • 부분공간 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/sod_example.py>__)
    • 2009
    • [#Kriegel2009Outlier]_
    • 근접성 기반
    • ROD
    • 회전 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/rod_example.py>__)
    • 2020
    • [#Almardeny2020A]_
    • 이상치 앙상블
    • IForest
    • 아이솔레이션 포레스트 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/iforest_example.py>__)
    • 2008
    • [#Liu2008Isolation]_
    • 이상치 앙상블
    • INNE
    • 최근접 이웃 앙상블을 통한 아이솔레이션 기반 이상 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/inne_example.py>__)
    • 2018
    • [#Bandaragoda2018Isolation]_
    • 이상치 앙상블
    • DIF
    • 이상 탐지를 위한 딥 아이솔레이션 포레스트 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/dif_example.py>__)
    • 2023
    • [#Xu2023Deep]_
    • 이상치 앙상블
    • FB
    • 피처 배깅 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/feature_bagging_example.py>__)
    • 2005
    • [#Lazarevic2005Feature]_
    • 이상치 앙상블
    • LSCP
    • LSCP: 병렬 이상치 앙상블의 지역 선택적 결합 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/lscp_example.py>__)
    • 2019
    • [#Zhao2019LSCP]_
    • 이상치 앙상블
    • XGBOD
    • 익스트림 부스팅 기반 이상치 탐지 (지도 학습) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/xgbod_example.py>__)
    • 2018
    • [#Zhao2018XGBOD]_
    • 이상치 앙상블
    • LODA
    • 경량 온라인 이상 탐지기 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/loda_example.py>__)
    • 2016
    • [#Pevny2016Loda]_
    • 이상치 앙상블
    • SUOD
    • SUOD: 대규모 비지도 이기종 이상 탐지 가속화 (가속) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/suod_example.py>__)
    • 2021
    • [#Zhao2021SUOD]_
    • 신경망
    • AutoEncoder
    • 완전 연결 오토인코더 (재구성 오차를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/auto_encoder_example.py>__)
    • [#Aggarwal2015Outlier]_ [Ch.3]
    • 신경망
    • VAE
    • 변분 오토인코더 (재구성 오차를 이상치 점수로 사용) (예제 <https://github.com/yzhao062/pyod/blob/development/examples/vae_example.py>__)
    • 2013
    • [#Kingma2013Auto]_
    • 신경망
    • Beta-VAE
    • 사용자 지정 손실(gamma 및 capacity)을 사용하는 변분 오토인코더 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/vae_example.py>__)
    • 2018
    • [#Burgess2018Understanding]_
    • 신경망
    • SO_GAAL
    • 단일 목적 생성적 적대적 능동 학습 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/so_gaal_example.py>__)
    • 2019
    • [#Liu2019Generative]_
    • 신경망
    • MO_GAAL
    • 다중 목적 생성적 적대적 능동 학습 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/mo_gaal_example.py>__)
    • 2019
    • [#Liu2019Generative]_
    • 신경망
    • DeepSVDD
    • 딥 원-클래스 분류 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/deepsvdd_example.py>__)
    • 2018
    • [#Ruff2018Deep]_
    • 신경망
    • AnoGAN
    • 생성적 적대 신경망을 이용한 이상 탐지
    • 2017
    • [#Schlegl2017Unsupervised]_
    • 신경망
    • ALAD
    • 적대적 학습 기반 이상 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/alad_example.py>__)
    • 2018
    • [#Zenati2018Adversarially]_
    • 신경망
    • AE1SVM
    • 오토인코더 기반 원-클래스 서포트 벡터 머신 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/ae1svm_example.py>__)
    • 2019
    • [#Nguyen2019scalable]_
    • 신경망
    • DevNet
    • 편차 네트워크를 이용한 딥 이상 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/devnet_example.py>__)
    • 2019
    • [#Pang2019Deep]_
    • 그래프 기반
    • R-Graph
    • R-그래프 기반 이상치 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/rgraph_example.py>__)
    • 2017
    • [#You2017Provable]_
    • 그래프 기반
    • LUNAR
    • LUNAR: 그래프 신경망을 통한 로컬 이상 탐지 방법 통합 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/lunar_example.py>__)
    • 2022
    • [#Goodge2022Lunar]_
    • 임베딩 기반
    • EmbeddingOD
    • 파운데이션 모델 임베딩, 텍스트, 이미지, 오디오를 통한 멀티모달 이상 탐지 (예제 <https://github.com/yzhao062/pyod/blob/development/examples/embedding_od_example.py>__)
    • 2025
    • [#Li2024NLPADBench]_
  • 2015
  • [#Malhotra2015Long]_
    • 딥러닝
    • AnomalyTransformer
    • 연관 불일치를 이용한 Transformer(실험적)
    • 2022
    • [#Xu2022Anomaly]_
  • Radar
  • 행렬 분해를 통한 잔차 분석 (radar 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_radar_example.py>__)
  • 2017
  • [#Li2017Radar]_
    • 행렬 분해
    • ANOMALOUS
    • 라플라시안 정규화를 적용한 결합 MF (anomalous 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_anomalous_example.py>__)
    • 2018
    • [#Peng2018ANOMALOUS]_
    • 구조적
    • SCAN
    • 구조적 클러스터링, 피처 불필요 (scan 예제 <https://github.com/yzhao062/pyod/blob/development/examples/pyg_scan_example.py>__)
    • 2007
    • [#Xu2007SCAN]_