Expand description
Numerical utilities for statistical computing
Functionsยง
- all_
finite - Check if all values in an array are finite
- all_
finite_ 2d - Check if all values in a 2D array are finite
- clip
- Clip values to a specified range
- correlation_
matrix - Compute the pairwise correlation matrix (from original tools/utils.rs)
- covariance_
matrix - Compute the covariance matrix (from original tools/utils.rs)
- is_
finite - Check if a value is finite (not NaN or infinite)
- log_
sum_ exp - Compute log-sum-exp for numerical stability
- logistic
- Logistic function (alias for sigmoid)
- logit
- Logit function (inverse of sigmoid)
- min_
max_ normalize - Min-max normalization to [0, 1] range
- replace_
inf - Replace infinite values with a specified value
- replace_
nan - Replace NaN values with a specified value
- sigmoid
- Sigmoid function
- softmax
- Softmax function for probability distribution
- standardize
- Standardize array (z-score normalization)