Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
ba2ce25
improve ik_anne
xhan97 Jun 18, 2024
d042e30
improve ik_anne
xhan97 Jun 18, 2024
cf10e5b
Merge branch 'develop' of https://github.com/xhan97/IsoML into develop
xhan97 Jun 18, 2024
809b110
rewrite ik_inne
xhan97 Jun 18, 2024
acce788
isokernel
xhan97 Jun 18, 2024
425d881
logo and Isolation kernel
xhan97 Jun 19, 2024
06deb84
refactor isoml
xhan97 Jun 19, 2024
f4b618d
mirrors
xhan97 Jun 19, 2024
1a8ecb1
add anomaly_inne and anomaly_idkd
xhan97 Jun 19, 2024
b6e1c58
add isokhc
xhan97 Jun 19, 2024
2995385
isokhc
xhan97 Jun 19, 2024
6c7ab12
pskc
xhan97 Jun 20, 2024
e7afe32
idkc
xhan97 Jun 24, 2024
3b1fddb
idkc
xhan97 Jun 24, 2024
2164c19
idkc
xhan97 Jun 28, 2024
a804951
idkc
xhan97 Jun 28, 2024
6d093e7
idkc
xhan97 Jun 28, 2024
5a57265
idkc
xhan97 Jun 28, 2024
7eef1d4
idkc
xhan97 Jun 28, 2024
08e4ee8
debug idkc
xhan97 Jun 29, 2024
0afa6f9
test idkc
xhan97 Jun 29, 2024
195e2b2
fix: idkc get lc
xhan97 Jul 3, 2024
c313305
fix: idkc get seeds
xhan97 Jul 6, 2024
d1bb820
fix:kcluster
xhan97 Jul 9, 2024
076485e
add IGK
xhan97 Jul 9, 2024
925c4fa
igk refactore
xhan97 Jul 11, 2024
abd83e0
ikgod
xhan97 Jul 25, 2024
7e64ed3
add ikast
xhan97 Aug 20, 2024
a9482ce
sumbols
xhan97 Sep 2, 2024
4d8cb60
update licenses
xhan97 Sep 2, 2024
31ccec4
update license head
xhan97 Sep 2, 2024
220c5eb
IKGAD
xhan97 Sep 2, 2024
3e319db
code format
xhan97 Sep 19, 2024
658d860
streaKHc
xhan97 Sep 29, 2024
35591cb
icid
xhan97 Sep 29, 2024
34ad916
icid
xhan97 Sep 30, 2024
c6908cd
icid
xhan97 Sep 30, 2024
68c0908
Ikat
xhan97 Nov 11, 2024
636cc06
[fix] 修复sklearn的check_array
yixiaoma666 Nov 11, 2024
bf2b0a8
update
yixiaoma666 Nov 21, 2024
6f52475
Update .gitignore
yixiaoma666 Nov 21, 2024
025853e
update
yixiaoma666 Nov 22, 2024
b3e1257
update
yixiaoma666 Nov 22, 2024
a4d3d6b
update
yixiaoma666 Nov 22, 2024
d2b476a
[fix] 修复了_idkd的score_samples求sparse的average的错误
yixiaoma666 Nov 22, 2024
f8d8ada
idkd测试
yixiaoma666 Nov 22, 2024
7dc00ca
idkd测试
yixiaoma666 Nov 22, 2024
b0dff95
inne测试
yixiaoma666 Nov 23, 2024
e6ad662
update
yixiaoma666 Nov 23, 2024
8a6b63b
update
yixiaoma666 Nov 23, 2024
b8ef986
update
yixiaoma666 Nov 23, 2024
a429913
update
yixiaoma666 Nov 23, 2024
b30108d
update
yixiaoma666 Nov 23, 2024
5b5cee5
update
yixiaoma666 Nov 23, 2024
1c7e31b
update
yixiaoma666 Nov 23, 2024
07396e6
ikdc测试
yixiaoma666 Nov 23, 2024
05a7035
修复了ikgad的test_ikgad的bug
yixiaoma666 Nov 23, 2024
86f6b05
update test_log.md
yixiaoma666 Nov 23, 2024
6e24b95
update
yixiaoma666 Nov 24, 2024
52df05b
update
yixiaoma666 Nov 24, 2024
5e4a191
Update README.md
yixiaoma666 Nov 24, 2024
14cb66a
Update README.md
yixiaoma666 Nov 24, 2024
1ea2488
ikdc
xhan97 Nov 24, 2024
490e330
Update .gitignore
yixiaoma666 Nov 24, 2024
1dd2366
Merge branch 'develop' of https://github.com/xhan97/isoml into develop
yixiaoma666 Nov 24, 2024
f5ac1e7
Update test.py
yixiaoma666 Nov 24, 2024
8802037
ikgod test
yixiaoma666 Nov 24, 2024
4701130
[fix] 修复了h的传参问题
yixiaoma666 Nov 24, 2024
3543990
[fix] ikgod的self.h
yixiaoma666 Nov 24, 2024
de1e7fc
ikdc
xhan97 Nov 24, 2024
bb6268a
Merge branch 'develop' of https://github.com/xhan97/isoml into develop
xhan97 Nov 24, 2024
3b18a56
update
yixiaoma666 Nov 24, 2024
4f93f3d
Update .gitignore
yixiaoma666 Nov 24, 2024
10d4551
[feat] iforest测试
yixiaoma666 Nov 24, 2024
4689c62
Update _ikat.py
yixiaoma666 Nov 24, 2024
e815a26
新增idk和inne结果
yixiaoma666 Nov 24, 2024
6a3f6f4
update ikdc result
yixiaoma666 Dec 4, 2024
84d3832
[add] ikat dataset summary
yixiaoma666 Dec 4, 2024
e81e9d3
delete test file
yixiaoma666 Dec 17, 2024
7b1f991
delete test file
yixiaoma666 Dec 17, 2024
d94cb88
delete test file
yixiaoma666 Dec 17, 2024
31226ae
delete test file
yixiaoma666 Dec 17, 2024
3f3f0c6
新建测试分支
yixiaoma666 Dec 17, 2024
4525a14
新建测试分支
yixiaoma666 Dec 17, 2024
ecc3d3f
新建测试分支
yixiaoma666 Dec 17, 2024
d73737d
新建测试分支
yixiaoma666 Dec 17, 2024
55a66a8
新建测试分支
yixiaoma666 Dec 17, 2024
b8b6c69
ikat
xhan97 Dec 25, 2024
58a9b7f
Merge branch 'develop' of https://github.com/xhan97/isoml into develop
xhan97 Dec 25, 2024
96b5ca7
fix ikgad
xhan97 Dec 27, 2024
59b5dd3
idkc
xhan97 Dec 30, 2024
31503e8
idkc
xhan97 Dec 30, 2024
8a511cd
rename package
xhan97 Dec 30, 2024
831044a
refactor
xhan97 Dec 30, 2024
ccd0fb3
init
xhan97 Dec 30, 2024
93de928
doc
xhan97 Dec 30, 2024
d6a1fd8
kcluster
xhan97 Jan 14, 2025
df767ca
docs
xhan97 Jan 14, 2025
ead9b78
docs
xhan97 Jan 14, 2025
af72f11
docs readme
xhan97 Feb 10, 2025
977b69b
docs
xhan97 Feb 20, 2025
8ff1a96
docs api
xhan97 Feb 20, 2025
46fcf96
Merge branch 'develop' of https://github.com/xhan97/isoml into develop
xhan97 Feb 20, 2025
177cb96
rename pyiks and readme
xhan97 Feb 24, 2025
4342d2a
readme
xhan97 Feb 24, 2025
d6c53e2
readme
xhan97 Feb 24, 2025
d755cc1
icid
xhan97 Feb 25, 2025
4cb4baa
icid
xhan97 Feb 25, 2025
3915744
icid docs
xhan97 Feb 25, 2025
8e31203
streakhc
xhan97 Feb 25, 2025
979307b
streakhc docs
xhan97 Feb 25, 2025
ef487fa
strakhc test
xhan97 Feb 26, 2025
57b552e
ikgad
xhan97 Feb 26, 2025
11bdb89
ikat test
xhan97 Feb 26, 2025
12ea56c
idkc docs and test
xhan97 Feb 27, 2025
f4308da
streakhc docs
xhan97 Feb 27, 2025
cc2caf7
tidkc
xhan97 Feb 27, 2025
8fee97e
iktod
xhan97 Feb 27, 2025
eec1d86
ikahc
xhan97 Feb 28, 2025
fc91b6e
rename to pyikt
xhan97 Feb 28, 2025
647493f
docs
xhan97 Feb 28, 2025
4b70a64
mkdocs
xhan97 Feb 28, 2025
8a61b47
pixi
xhan97 Feb 28, 2025
6ef5058
pixi
xhan97 Feb 28, 2025
0496aff
fix test
xhan97 Feb 28, 2025
5052589
fix doc strings
xhan97 Feb 28, 2025
7f65171
fix doc test
xhan97 Mar 2, 2025
72d63d6
fix speed of inne
xhan97 Mar 2, 2025
f3354e5
fix ikgod
xhan97 Mar 2, 2025
cedd787
fix sleep dogs
xhan97 Mar 2, 2025
c26d13e
docs
xhan97 Mar 2, 2025
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: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

[run]
branch = True
source = IsoML
include = */IsoML/*
source = pyikt
include = */pyikt/*
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
# SCM syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/_build/html
publish_dir: ./site
commit_message: "[ci skip] ${{ github.event.head_commit.message }}"
157 changes: 157 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
name: pypi

on:
workflow_dispatch:
push:
tags:
- "*"

jobs:
build_linux_wheels:
name: Build ${{ matrix.linux_tag }} wheels with cp${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
linux_tag: ["manylinux", "musllinux"]
python-version: ["310", "311", "312", "313"]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/[email protected]
timeout-minutes: 720
env:
CIBW_BUILD: "cp${{ matrix.python-version }}-${{ matrix.linux_tag }}_*"
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
CIBW_SKIP: "*-musllinux_i686"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
CIBW_MANYLINUX_I686_IMAGE: "manylinux2014"
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_1"
CIBW_MUSLLINUX_I686_IMAGE: "musllinux_1_1"
CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_1"
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_ENVIRONMENT_LINUX: 'PATH="$HOME/.cargo/bin:$PATH" CARGO_NET_GIT_FETCH_WITH_CLI="true"'
CIBW_BEFORE_BUILD: >
rustup default nightly &&
rustup show
CIBW_BEFORE_BUILD_LINUX: >
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=nightly --profile=minimal -y &&
rustup show
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.linux_tag }}-cp${{ matrix.python-version }}
path: ./wheelhouse/*.whl

build_macos_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- name: Set up rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- run: rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin
- name: Build wheels
uses: pypa/[email protected]
timeout-minutes: 720
env:
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
CIBW_ARCHS_MACOS: "universal2"
# arm64 and universal2 wheels are tagged with x86_64 because there's an issue with Poetry
# More information here: https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile (CTRL + F "poetry")
# https://github.com/pypa/cibuildwheel/issues/1415
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
ls {dest_dir} &&
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
for file in {dest_dir}/*.whl ; do mv $file ${file//x86_64/universal2} ; done
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_BEFORE_BUILD: >
rustup default nightly &&
rustup show
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_windows_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
steps:
- uses: actions/checkout@v4
- name: Set up rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- run: rustup toolchain install stable-i686-pc-windows-msvc
- run: rustup target add i686-pc-windows-msvc
- name: Build wheels
uses: pypa/[email protected]
timeout-minutes: 720
env:
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
CIBW_ARCHS_WINDOWS: "AMD64 x86"
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_ENVIRONMENT_WINDOWS: 'PATH="$UserProfile\.cargo\bin;$PATH"'
CIBW_BEFORE_BUILD: >
rustup default nightly &&
rustup show
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
# Can't use more than 12 jobs in parallel
needs: [build_macos_wheels]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.13"

- name: Build dist
run: poetry build

- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz

merge_artifacts:
runs-on: ubuntu-latest
needs: [build_linux_wheels, build_macos_wheels, build_windows_wheels, build_sdist]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: artifact
pattern: artifact-*

upload_pypi:
needs: merge_artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
name: artifact
path: dist

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: IsolationKernel/IsoML
slug: IsolationKernel/pyikt
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,12 @@ cython_debug/

# VsCode
.vscode/

# test
env.ps1
env.sh
origin_data/
myx_test/
# pixi environments
.pixi
*.egg-info
12 changes: 0 additions & 12 deletions IsoML/__init__.py

This file was deleted.

Loading
Loading