Package-level declarations

Functions

Link copied to clipboard
fun isolationForest(x: Array<DoubleArray>, trees: Int = 100, maxDepth: Int = 0, subsample: Double = 0.7, extensionLevel: Int = 0): IsolationForest

Fits an Isolation Forest model for anomaly detection.

Link copied to clipboard
fun lof(x: Array<DoubleArray>, k: Int = 20): LOF<DoubleArray>

Fits a Local Outlier Factor (LOF) model using a KD-tree for spatial neighborhood search.

fun <T> lof(x: Array<T>, distance: Distance<T>, k: Int = 20): LOF<T>

Fits a Local Outlier Factor (LOF) model on arbitrary objects in a metric/distance space.

fun <T> lof(x: Array<T>, nns: KNNSearch<T, T>, k: Int = 20): LOF<T>

Fits a Local Outlier Factor (LOF) model using a provided nearest neighbor search structure.

Link copied to clipboard
fun <T> ocsvm(x: Array<T>, kernel: MercerKernel<T>, nu: Double = 0.5, tol: Double = 0.001): SVM<T>

Fits a one-class support vector machine (One-Class SVM).