Learn R Programming

SLOPE

Efficient implementations for Sorted L-One Penalized Estimation (SLOPE): generalized linear models regularized with the sorted L1-norm. There is support for ordinary least-squares regression, binomial regression, multinomial regression, and poisson regression, as well as both dense and sparse predictor matrices. In addition, the package features predictor screening rules that enable efficient solutions to high-dimensional problems.

Installation

You can install the current stable release from CRAN with

install.packages("SLOPE")

or the development version from GitHub with

# install.packages("remotes")
remotes::install_github("jolars/SLOPE")

Versioning

SLOPE uses semantic versioning.

Code of conduct

Please note that the ‘SLOPE’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('SLOPE')

Monthly Downloads

388

Version

0.5.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Johan Larsson

Last Published

February 1st, 2025

Functions in SLOPE (0.5.2)

setupDiagnostics

Setup a data.frame of diagnostics
plot.TrainedSLOPE

Plot results from cross-validation
regularizationWeights

Generate Regularization (Penalty) Weights for SLOPE
plot.SLOPE

Plot coefficients
student

Student performance
predict.SLOPE

Generate predictions from SLOPE models
trainSLOPE

Train a SLOPE model
wine

Wine cultivars
caretSLOPE

Model objects for model tuning with caret (deprecated)
SLOPE-package

SLOPE: Sorted L1 Penalized Estimation
deviance.SLOPE

Model deviance
SLOPE

Sorted L-One Penalized Estimation
heart

Heart disease
sortedL1Prox

Sorted L1 Proximal Operator
interpolateCoefficients

Interpolate coefficients
coef.SLOPE

Obtain coefficients
print.SLOPE

Print results from SLOPE fit
abalone

Abalone
interpolatePenalty

Interpolate penalty values
bodyfat

Bodyfat
plotDiagnostics

Plot results from diagnostics collected during model fitting
score

Compute one of several loss metrics on a new data set