Class IsolationTree
java.lang.Object
smile.anomaly.IsolationTree
- All Implemented Interfaces:
Serializable
Isolation tree. This is an internal building block of
IsolationForest.
Instances are created exclusively by IsolationForest during training.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoublepath(double[] x) Returns the path length from the root to the leaf node.
-
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.
-