Class IsolationTree

java.lang.Object
smile.anomaly.IsolationTree
All Implemented Interfaces:
Serializable

public class IsolationTree extends Object implements Serializable
Isolation tree. This is an internal building block of IsolationForest. Instances are created exclusively by IsolationForest during training.
See Also:
  • Method Details

    • path

      public double path(double[] x)
      Returns the path length from the root to the leaf node.
      Parameters:
      x - the sample.
      Returns:
      the path length.