Skip to content

Commit a97198b

Browse files
jverbusclaude
andauthored
Add eif heatmap plots to README.md (#82)
* Add Standard IF vs Extended IF score heatmap plots to README Add synthetic 2D score heatmaps illustrating the axis-aligned bias of Standard Isolation Forest that Extended Isolation Forest eliminates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update heatmap plots with improved versions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update heatmap plots Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update heatmap plots Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 17935ed commit a97198b

4 files changed

Lines changed: 86709 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,23 @@ Use `ExtendedIsolationForest` instead of `IsolationForest` when:
254254
The standard `IsolationForest` remains a good default for high-dimensional, uncorrelated data where
255255
axis-aligned splits are sufficient and computational cost matters.
256256

257+
The following heatmaps, produced using this library's `IsolationForest` and `ExtendedIsolationForest`
258+
implementations, illustrate the difference on synthetic 2D datasets. Standard IF exhibits
259+
axis-aligned artifacts (visible as cross-shaped high-score regions), while Extended IF eliminates
260+
this directional bias.
261+
262+
<p align="center">
263+
<img src="./assets/single_blob_heatmap.svg" alt="Single Blob: Standard IF vs Extended IF" width="85%"/>
264+
</p>
265+
266+
<p align="center">
267+
<img src="./assets/two_blobs_heatmap.svg" alt="Two Blobs: Standard IF vs Extended IF" width="85%"/>
268+
</p>
269+
270+
<p align="center">
271+
<img src="./assets/sinusoid_heatmap.svg" alt="Sinusoid: Standard IF vs Extended IF" width="85%"/>
272+
</p>
273+
257274
### Extended Isolation Forest parameters
258275

259276
`ExtendedIsolationForest` accepts all the same parameters as `IsolationForest` (see the

0 commit comments

Comments
 (0)