You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemds.apache.org by "PeilinChen01 (via GitHub)" <gi...@apache.org> on 2026/06/21 21:11:59 UTC

[PR] Refactor Isolation Forest builtin and add edge-case tests [systemds]

PeilinChen01 opened a new pull request, #2498:
URL: https://github.com/apache/systemds/pull/2498

   ### Summary
   
   This pull request contains the midterm progress for the Isolation Forest builtin implementation in SystemDS.
   
   Main changes:
   
   * Refactored the Isolation Forest training and scoring logic.
   * Clamped `subsampling_size` to the actual number of input rows when necessary.
   * Added support for single-row scoring in `outlierByIsolationForestApply`.
   * Added support for single-tree models.
   * Added handling for constant data where no valid split is possible.
   * Made seeded training reproducible.
   * Added edge-case tests for the Isolation Forest builtin.
   
   ### Tests
   
   The following command passes locally:
   
   ```bash
   mvn -Dtest=BuiltinIsolationForestTest test
   ```
   
   Covered test cases include:
   
   * Basic model training and scoring
   * Hybrid execution mode
   * Subsampling-size clamping
   * Single-row apply
   * Single-tree model
   * Constant data
   * Seed reproducibility
   * Anomaly ranking
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [SYSTEMDS-3166] Refactor Isolation Forest builtin and add edge-case tests [systemds]

Posted by "mboehm7 (via GitHub)" <gi...@apache.org>.
mboehm7 commented on PR #2498:
URL: https://github.com/apache/systemds/pull/2498#issuecomment-5911422351

   LGTM - thanks @PeilinChen01 @rbbozkurt and others for your contributions. During the merge, I only moved the java test to builtin/part1 to follow alphabetical ordering, disabled the benchmarking in the unit tests, and deleted the isolation forest from staging.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [SYSTEMDS-3166] Refactor Isolation Forest builtin and add edge-case tests [systemds]

Posted by "mboehm7 (via GitHub)" <gi...@apache.org>.
mboehm7 closed pull request #2498: [SYSTEMDS-3166] Refactor Isolation Forest builtin and add edge-case tests
URL: https://github.com/apache/systemds/pull/2498


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org