Package: ModalNet 0.3.0

Christian E. Galarza

ModalNet: Regularized Parametric Modal Regression: Lasso, Elastic Net and Ridge

Variable selection and estimation for parametric modal regression with continuous positive responses (Gamma, Weibull and Lognormal families) under Lasso, elastic-net, ridge and adaptive-Lasso penalties. The conditional mode is linked to a linear predictor through a logarithmic link using the mode reparameterization of Galarza and Lachos (2026) <doi:10.48550/arXiv.2603.07099>. The penalized log-likelihood is maximized with a proximal Newton algorithm (iteratively reweighted penalized least squares): at each iteration the modal log-likelihood is replaced by a local quadratic surrogate in the linear predictor, which yields a pseudo-response and a working weight in closed form, and the resulting weighted penalized least-squares subproblem is solved by the coordinate-descent solver of 'glmnet' (Friedman, Hastie and Tibshirani, 2010, <doi:10.18637/jss.v033.i01>). The regularization parameter is chosen along a warm-started path by the extended Bayesian information criterion of Chen and Chen (2008) <doi:10.1093/biomet/asn034>.

Authors:Christian E. Galarza [aut, cre, cph], Víctor H. Lachos [aut], Dashun Liu [aut]

ModalNet_0.3.0.tar.gz
ModalNet_0.3.0.zip(r-4.7-any)ModalNet_0.3.0.zip(r-4.6-any)ModalNet_0.3.0.zip(r-4.5-any)
ModalNet_0.3.0.tgz(r-4.6-any)ModalNet_0.3.0.tgz(r-4.5-any)
ModalNet_0.3.0.tar.gz(r-4.7-any)ModalNet_0.3.0.tar.gz(r-4.6-any)
ModalNet_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ModalNet/json (API)

# Install 'ModalNet' in R:
install.packages('ModalNet', repos = c('https://chedgala.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/chedgala/modalnet/issues

Datasets:

On CRAN:

Conda:

2.70 score 1 stars 3 exports 10 dependencies

Last updated from:bf75da85db. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK111
source / vignettesOK175
linux-releaseOK115
macos-releaseOK78
macos-oldrelOK82
windows-develOK76
windows-releaseOK72
windows-oldrelOK55
wasm-releaseOK77

Exports:generate_modal_datamodal_lassomodal_net

Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppEigenshapesurvival