API Reference#
adelie.bcd#
|
Computes the BCD objective. |
|
Solves the non-negative root of the BCD root function. |
|
Computes the BCD root function. |
|
Computes a lower bound on the root of BCD root function. |
|
Computes an upper bound on the root of BCD root function. |
|
Solves the BCD update. |
adelie.configs#
|
Sets global configurations. |
adelie.constraint#
|
Creates a box constraint. |
|
Creates a linear constraint. |
|
Creates a lower bound constraint. |
|
Creates a one-sided bound constraint. |
|
Creates an upper bound constraint. |
adelie.cv#
|
Result of K-fold CV group elastic net. |
|
Solves cross-validated group elastic net via naive method. |
adelie.data#
|
Creates a dense dataset. |
|
Creates a SNP phased, ancestry dataset. |
|
Creates a SNP unphased dataset. |
adelie.diagnostic#
|
Diagnostic class for covariance states. |
|
Diagnostic class for naive states. |
|
Computes the coefficient at \(\lambda\) using linear interpolation of solutions. |
|
Creates a diagnostic class object appropriate for the state. |
|
Computes the gradients. |
|
Computes the group-wise gradient norms. |
|
Computes the gradient scores. |
|
Computes the group elastic net objective. |
|
Plots benchmark times. |
|
Plots the coefficient profile. |
|
Plots the deviance profile. |
|
Plots KKT failures. |
|
Plots the set sizes. |
|
Computes the linear predictions. |
|
Computes the residuals. |
adelie.glm#
|
Creates a Binomial GLM family object. |
|
Creates a Cox GLM family object. |
|
Creates a Gaussian GLM family object. |
|
Creates a MultiGaussian GLM family object. |
|
Creates a Multinomial GLM family object. |
|
Creates a Poisson GLM family object. |
adelie.io#
|
IO handler for SNP phased, ancestry matrix. |
|
IO handler for SNP unphased matrix. |
adelie.matrix#
|
Creates a block-diagonal matrix given by the list of matrices. |
|
Creates a concatenation of the matrices. |
|
Creates a feature matrix for the convex relu problem. |
|
Creates a viewer of a dense matrix. |
|
Creates an eager covariance matrix. |
|
Creates a matrix with pairwise interactions. |
|
Creates a Kronecker product with identity matrix. |
|
Creates a lazy covariance matrix. |
|
Creates a one-hot encoded matrix. |
|
Creates a SNP phased, ancestry matrix. |
|
Creates a SNP unphased matrix. |
|
Creates a viewer of a sparse matrix. |
|
Creates a standardized matrix. |
|
Creates a subset of the matrix along an axis. |
adelie.sklearn#
|
Column Subset Selection estimator for model selection with scikit-learn compatible API. |
|
Group Elastic Net estimator with scikit-learn compatible API. |
adelie.solver#
|
Solves bounded variable least squares. |
|
Solves column subset selection via covariance method. |
|
Solves Gaussian group elastic net via covariance method. |
|
Solves group elastic net via naive method. |
|
Solves pinball least squares. |
adelie.state#
|
Creates a BVLS state object. |
|
Creates a CSS covariance state object. |
|
Creates a Gaussian, covariance method state object. |
|
Creates a Gaussian, naive method state object. |
|
Creates a Gaussian, pin, covariance method state object. |
|
Creates a Gaussian, pin, naive method state object. |
|
Creates a GLM, naive method state object. |
|
Creates a MultiGaussian, naive method state object. |
|
Creates a multi-response GLM, naive method state object. |
|
Creates a pinball state object. |