1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
use crate::;
pub use KernelType;
/// Represents different distance calculation methods used in various machine learning algorithms.
///
/// This enum defines common distance metrics that can be used in clustering algorithms,
/// nearest neighbor searches, and other applications where distance between points is relevant.
///
/// # Variants
///
/// - `Euclidean` - Euclidean distance (L2 norm), calculated as the square root of the sum of squared differences between corresponding coordinates.
/// - `Manhattan` - Manhattan distance (L1 norm), calculated as the sum of absolute differences between corresponding coordinates.
/// - `Minkowski` - A generalized metric that includes both Euclidean and Manhattan distances as special cases. Requires an additional parameter p (f64).
/// Represents different types of regularization techniques used in machine learning models.
///
/// Regularization helps prevent overfitting by adding a penalty term to the model's loss function
/// during training. This enum defines common regularization approaches that can be applied to
/// various learning algorithms.
///
/// # Variants
///
/// - `L1` - L1 regularization (Lasso) that adds the sum of absolute values of parameters
/// multiplied by the specified coefficient. Promotes sparse solutions by driving some
/// parameters to exactly zero.
/// - `L2` - L2 regularization (Ridge) that adds the sum of squared parameter values
/// multiplied by the specified coefficient. Discourages large parameter values but
/// typically does not produce sparse solutions.
/// Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm implementation
/// Decision Tree implementation for classification and regression task
/// This module provides helper functions for machine learning models
/// Isolation Forest algorithm implementation for anomaly detection
/// K-means clustering implementation for unsupervised learning
/// K-Nearest Neighbors (KNN) implementation for classification and regression
/// Linear regression module implementing the ordinary least squares method
/// This module contains the implementation of Linear Support Vector Classification (Linear SVC)
/// Logistic regression module for binary classification problems
/// Mean Shift clustering algorithm implementation
/// This module provides an implementation of Support Vector Classification
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;