Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
cancel-in-progress: false
permissions:
contents: write
env:
# See docs.yml: silences the properdocs notice pulled in by the nav and
# page generation plugins.
DISABLE_MKDOCS_2_WARNING: "true"

steps:
- uses: actions/checkout@v7
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ permissions:
jobs:
docs:
runs-on: ubuntu-latest
env:
# mkdocs-gen-files, literate-nav, section-index and redirects all depend on
# properdocs, which prints a notice about a possible MkDocs 2.0 on every
# build. Nothing here is acted on by it, so keep it out of the log.
DISABLE_MKDOCS_2_WARNING: "true"
steps:
- uses: actions/checkout@v7
with:
Expand Down
15 changes: 10 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
IKPyKit is a scikit-learn compatible Python library implementing Isolation Kernel methods for anomaly detection, clustering and change detection.
---

<!-- <script src="https://kit.fontawesome.com/d20edc211b.js" crossorigin="anonymous"></script>

<div style="margin-bottom: 10px;">
Expand Down Expand Up @@ -99,8 +104,8 @@ clf.predict([[0.1, 0.3], [0, 0.7], [90, 85]])

| Abbr | Algorithm | Application | Publication |
| ---------------------------------------------------------------------------------------------- | ----------------------------- | --------------------------------------------- | -------------------- |
| [IsoKernel](./api/kernel/isolation_kernel.md) | Isolation Kernel | IK feature mapping and similarity calculating | AAAI2019, SIGKDD2018 |
| [IsoDisKernel](./api/kernel/isolation_dis_kernel.md) | Isolation Distribution Kernel | Distribution similarity calculating | SIGKDD2020 |
| [IsoKernel](./api/kernel/isokernel.md) | Isolation Kernel | IK feature mapping and similarity calculating | AAAI2019, SIGKDD2018 |
| [IsoDisKernel](./api/kernel/isodiskernel.md) | Isolation Distribution Kernel | Distribution similarity calculating | SIGKDD2020 |

**(ii) Point Anomaly detection** :

Expand All @@ -123,7 +128,7 @@ clf.predict([[0.1, 0.3], [0, 0.7], [90, 85]])
| Abbr | Algorithm | Application | Publication |
| ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------- | ----------- |
| [IKGOD](./api/graph/ikgod.md) | Subgraph Centralization: A Necessary Step for Graph Anomaly Detection. | Graph Anomaly Detection | SIAM2023 |
| [IsoGraphKernel](./api/graph/IsoGraphKernel.md) | Isolation Graph Kernel | Graph IK embedding and similarity calculating | AAAI2021 |
| [IsoGraphKernel](./api/graph/isographkernel.md) | Isolation Graph Kernel | Graph IK embedding and similarity calculating | AAAI2021 |

**(V) Group Data** :

Expand All @@ -135,7 +140,7 @@ clf.predict([[0.1, 0.3], [0, 0.7], [90, 85]])

| Abbr | Algorithm | Application | Publication |
| ------------------------------------------------------------------------------ | --------------------------------------------------------------- | ------------------------------ | ----------- |
| [StreaKHC](./api/stream/streakhc.md) | Isolation Distribution Kernel for Trajectory Anomaly Detections | Online Hierarchical Clustering | SIGKDD2022 |
| [StreaKHC](./api/stream/streamkhc.md) | Isolation Distribution Kernel for Trajectory Anomaly Detections | Online Hierarchical Clustering | SIGKDD2022 |
| [ICID](./api/stream/icid.md) | Detecting change intervals with isolation distributional kernel | Change Intervals Detection | JAIR2024 |

**(VII) Trajectory Data** :
Expand All @@ -149,7 +154,7 @@ clf.predict([[0.1, 0.3], [0, 0.7], [90, 85]])

| Abbr | Algorithm | Application | Publication |
| ----------------------------------------------------------------------------- | --------------------------------------------------------------- | ----------------- | ----------- |
| [IKTOD](./api/time_series/iktod.md) | Isolation distribution kernel for Time Series Anomaly Detection | Anomaly detection | VLDB2022 |
| [IKTOD](./api/timeseries/iktod.md) | Isolation distribution kernel for Time Series Anomaly Detection | Anomaly detection | VLDB2022 |

---

Expand Down
1 change: 0 additions & 1 deletion docs/api/anomaly/idkd.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/anomaly/iforest.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/anomaly/inne.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/cluster/idkc.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/cluster/ikahc.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/cluster/pskc.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/graph/IsoGraphKernel.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/graph/ikgod.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/group/ikgad.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/kernel/isolation_dis_kernel.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/kernel/isolation_kernel.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/stream/icid.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/stream/streakhc.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/time_series/iktod.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/trajectory/data_loader/sheep_dogs.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/trajectory/ikat.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/trajectory/tidkc.md

This file was deleted.

5 changes: 5 additions & 0 deletions docs/authors/authors.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
The authors and contributors behind IKPyKit, and how to get involved.
---

# Authors

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
Expand Down
5 changes: 5 additions & 0 deletions docs/contributing/contribution.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
How to contribute to IKPyKit: setting up a development environment, running the tests and opening a pull request.
---

Contributing to ikpykit
=====================

Expand Down
5 changes: 5 additions & 0 deletions docs/examples/examples_english.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
Worked examples and tutorials showing how to apply the Isolation Kernel estimators in IKPyKit to real data.
---

<script src="https://kit.fontawesome.com/d20edc211b.js" crossorigin="anonymous"></script>

# Examples and Tutorials
Expand Down
5 changes: 5 additions & 0 deletions docs/faq/table-of-contents.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
Answers to common questions about installing IKPyKit, the Python versions it supports and how its models behave.
---

# Frequently Asked Questions

This page collects common questions about IKPyKit usage, installation, and model behavior.
Expand Down
5 changes: 5 additions & 0 deletions docs/quick-start/how-to-install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
How to install IKPyKit with uv or pip, including the optional dependencies needed for the extended features.
---

# Installation Guide

This guide will help you install `ikpykit`. The default installation of `ikpykit` includes only the essential dependencies required for basic functionality. Additional optional dependencies can be installed for extended features.
Expand Down
5 changes: 5 additions & 0 deletions docs/releases/releases.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
Changelog for IKPyKit: the features, enhancements, API changes and fixes in every release.
---

# Changelog

All significant changes to this project are documented in this release file.
Expand Down
5 changes: 5 additions & 0 deletions docs/user_guides/table-of-contents.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
description: >-
User guides for IKPyKit, organised by task: anomaly detection, clustering, change detection and kernel similarity.
---

# Table of Contents

Welcome to the ikpykit user guides! This comprehensive collection of guides is designed to help you navigate through the various features and functionalities of ikpykit. Whether you are a beginner or an advanced user, you will find the necessary resources to master data with ikpykit. Below, you will find the user guides categorized by topic for easier navigation.
Expand Down
57 changes: 30 additions & 27 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,10 @@ nav:
- Examples and tutorials:
- Examples: examples/examples_english.md

- API Reference:
- Isolation Kernel:
- Isolation Kernel: api/kernel/isolation_kernel.md
- Isolation Distribution Kernel: api/kernel/isolation_dis_kernel.md
- Point Anomaly Detection:
- IForest: api/anomaly/iforest.md
- INNE: api/anomaly/inne.md
- IDKD: api/anomaly/idkd.md
- Point Clustering:
- IDKC: api/cluster/idkc.md
- PSKC: api/cluster/pskc.md
- IKAHC: api/cluster/ikahc.md
- Graph Mining:
- IKGOD: api/graph/ikgod.md
- IsoGraphKernel: api/graph/IsoGraphKernel.md
- Group Mining:
- IKGAD: api/group/ikgad.md
- Stream Mining:
- ICID: api/stream/icid.md
- StreaKHC: api/stream/streakhc.md
- Trajectory Mining:
- DataLoader:
- SheepDogs: api/trajectory/data_loader/sheep_dogs.md
- IKAT: api/trajectory/ikat.md
- TIDKC: api/trajectory/tidkc.md
- Time Series Mining:
- IKTOD: api/time_series/iktod.md
# Pages and sub-navigation are generated from the package by
# scripts/gen_api_pages.py; literate-nav expands this entry from the
# api/SUMMARY.md that script writes.
- API Reference: api/

- Releases: releases/releases.md

Expand All @@ -70,6 +47,17 @@ nav:
- Authors: authors/authors.md

plugins:
# First, so the pages it writes are in the file collection before any plugin
# that looks at it: literate-nav needs api/SUMMARY.md, and the llmstxt
# sections below resolve their globs against that collection too.
- gen-files:
scripts:
- scripts/gen_api_pages.py
- literate-nav:
nav_file: SUMMARY.md
# Lets the generated api/index.md serve as the "API Reference" section itself,
# so the tab links to the overview instead of doing nothing.
- section-index
- mkdocstrings:
handlers:
python:
Expand Down Expand Up @@ -141,12 +129,27 @@ plugins:
Examples:
- examples/*.md
API reference:
# The overview needs listing on its own: the glob below only matches
# pages that sit in a subdirectory of api/.
- api/index.md
- api/**/*.md
Project:
- releases/releases.md
- faq/table-of-contents.md
- contributing/contribution.md
- authors/authors.md
# Six API pages were hand-named and no longer match what the generator derives
# from the class. This keeps links published against v0.3.0 and earlier
# working. It is a fixed list of legacy paths, not something a new estimator
# ever needs to be added to.
- redirects:
redirect_maps:
api/kernel/isolation_kernel.md: api/kernel/isokernel.md
api/kernel/isolation_dis_kernel.md: api/kernel/isodiskernel.md
api/graph/IsoGraphKernel.md: api/graph/isographkernel.md
api/stream/streakhc.md: api/stream/streamkhc.md
api/time_series/iktod.md: api/timeseries/iktod.md
api/trajectory/data_loader/sheep_dogs.md: api/trajectory/dataloader/sheepdogs.md
# Downloads the external assets the pages reference (Google Fonts, the CDN
# copy of require.js that mkdocs-jupyter pulls in) and serves them from this
# site instead, so a visitor's browser makes no third-party requests for them.
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,17 @@ docs = [
"matplotlib>=3.9.0",
"mike==2.2.0",
"mkdocs==1.6.1",
"mkdocs-gen-files==0.6.1",
"mkdocs-git-revision-date-localized-plugin==1.5.3",
"mkdocs-jupyter==0.26.3",
"mkdocs-literate-nav==0.6.3",
"mkdocs-llmstxt==0.5.0",
# The theme was previously only reached through mkdocs-jupyter. It is a
# direct requirement of this site, and the imaging extra (cairosvg, pillow)
# is what the built-in social plugin renders cards with.
"mkdocs-material[imaging]==9.7.7",
"mkdocs-redirects==1.2.3",
"mkdocs-section-index==0.3.12",
"mkdocstrings==1.0.6",
"mkdocstrings-python==2.0.5",
"notebook==7.6.2",
Expand Down
Loading
Loading