Modules§
Structs§
- Archived
Owned Matrix - An archived
OwnedMatrix
- Coef
- Elnet
Control - Elnet
Result - File
- Glm
- Linear
Model - Lm
- Logistic
Model - Owned
Matrix - Owned
Matrix Resolver - The resolver for an archived
OwnedMatrix
- PValue
- R2
- R2Simd
Enums§
Statics§
Traits§
Functions§
- calculate_
adj_ r2 - calculate_
r2s - column_
p_ values - compute_
r2 - compute_
r2_ tjur - cv_
elnet - Cross-validated elastic net regression Get the lambda sequence from the master model, we don’t actually need the weights or anything. Then, for each fold fit a model using the other folds as training data, allow that model to generate it’s own lambda sequence. Then, align each model to the master lambda sequence and use that to determine the best model. Then return the best model across all folds.
- dbinom
- dcauchy
- dcauchy_
inner - dnorm
- dnorm4
- elnet
- Coordinate descent for Elastic Net regression. X: n x p matrix y: length n column vector lambda: regularization max_iter: number of passes
- get_r2s
- linear_
regression - logistic_
regression_ irls - logistic_
regression_ newton_ raphson - mean
- mean_
avx2 ⚠ - mean_
avx512 ⚠ - mean_
naive - mean_
sse4 ⚠ - p_value
- pack
- pack_
avx2 - pack_
avx2_ par - pack_
avx2_ sync - pack_
avx512 - pack_
avx512_ par - pack_
avx512_ sync - pack_
naive - pack_
naive_ par - pack_
naive_ sync - pnorm
- pnorm5
- qcauchy
- qcauchy_
inner - qnorm
- qnorm5
- r2
- r2_avx2⚠
- r2_
avx512 ⚠ - r2_
naive - r2_sse4⚠
- should_
disable_ predicted - split_
folds - Randomly split n samples into k folds for cross-validation. The returned vector indicates which fold each sample belongs to.
- standardize
- standardize_
avx2 ⚠ - standardize_
avx2_ ⚠recip - standardize_
avx512 ⚠ - standardize_
avx512_ ⚠recip - standardize_
column - standardize_
naive - standardize_
naive_ recip - standardize_
recip - standardize_
row - standardize_
sse4 ⚠ - standardize_
sse4_ ⚠recip - step_
aic - sum
- sum_
avx2 ⚠ - sum_
avx512 ⚠ - sum_
naive - sum_
sse4 ⚠ - unpack
- unpack_
avx2 - unpack_
avx2_ par - unpack_
avx2_ sync - unpack_
avx512 - unpack_
avx512_ par - unpack_
avx512_ sync - unpack_
naive - unpack_
naive_ par - unpack_
naive_ sync - variance
- variance_
avx2 ⚠ - variance_
avx512 ⚠ - variance_
naive - variance_
sse4 ⚠