|
7 | 7 |
|
8 | 8 | <!-- <div style="clear: both;"></div> --> |
9 | 9 |
|
| 10 | + |
| 11 | +[](https://pypi.org/project/pyikt/) |
| 12 | +[](https://codecov.io/gh/IsolationKernel/pyikt) |
| 13 | +[](https://github.com/IsolationKernel/pyikt/actions/workflows/python-app.yml/badge.svg) |
| 14 | +[](https://www.repostatus.org/#active) |
| 15 | +[](https://github.com/IsolationKernel/pyikt/graphs/commit-activity) |
| 16 | +[](https://pepy.tech/project/pyikt) |
| 17 | +[](https://pepy.tech/project/pyikt) |
| 18 | +[](https://github.com/IsolationKernel/pyikt/blob/master/LICENSE) |
| 19 | + |
| 20 | + |
| 21 | + |
10 | 22 | ## About The Project |
11 | 23 |
|
12 | 24 | **PyIKT** (Python for Isolation Kernel Toolkit) is an intuitive Python library designed for a variety of machine learning tasks including kernel similarity calculation, anomaly detection, clustering, and change detection—all powered by the innovative **Isolation Kernel (IK)** . Isolation Kernel is a data-dependent kernel that measures similarity by isolating data points using an isolation mechanism. It uniquely adapts to the data distribution, with the property that points in sparse regions are more similar than those in dense regions. Notably, it requires no learning or closed-form expression, making it efficient and scalable. |
@@ -49,6 +61,19 @@ For more installation options, including dependencies and additional features, c |
49 | 61 |
|
50 | 62 | --- |
51 | 63 |
|
| 64 | +## Example |
| 65 | + |
| 66 | +```py |
| 67 | +# Anomaly Detection using inne. |
| 68 | +import numpy as np |
| 69 | +from pyikt.anomaly import INNE |
| 70 | +X = np.array([[-1.1, 0.2], [0.3, 0.5], [0.5, 1.1], [100, 90]]) |
| 71 | +clf = INNE(contamination=0.25).fit(X) |
| 72 | +clf.predict([[0.1, 0.3], [0, 0.7], [90, 85]]) |
| 73 | +``` |
| 74 | + |
| 75 | +--- |
| 76 | + |
52 | 77 | ## Implemented Algorithms |
53 | 78 |
|
54 | 79 | #### Summary |
@@ -138,7 +163,7 @@ Explore our extensive list of examples and tutorials (English and Spanish) to ge |
138 | 163 |
|
139 | 164 | Primarily, PyIKT development consists of adding and creating new *Forecasters*, new validation strategies, or improving the performance of the current code. However, there are many other ways to contribute: |
140 | 165 |
|
141 | | -- Submit a bug report or feature request on [GitHub Issues](https://github.com/pyikt/pyikt/issues). |
| 166 | +- Submit a bug report or feature request on [GitHub Issues](https://github.com/IsolationKernel/pyikt/issues). |
142 | 167 | - Contribute a Jupyter notebook to our [examples](./examples/examples_english.html). |
143 | 168 | - Write [unit or integration tests](https://docs.pytest.org/en/latest/) for our project. |
144 | 169 | - Answer questions on our issues, Stack Overflow, and elsewhere. |
@@ -173,4 +198,4 @@ url = {https://github.com/IsolationKernel/pyikt} |
173 | 198 |
|
174 | 199 | ## License |
175 | 200 |
|
176 | | -[BSD-3-Clause License](https://github.com/pyikt/pyikt/blob/master/LICENSE) |
| 201 | +[BSD-3-Clause License](https://github.com/IsolationKernel/pyikt/blob/master/LICENSE) |
0 commit comments