Skip to content

Commit

Permalink
Version 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pbreheny committed Feb 14, 2020
1 parent a41088a commit 8cd9060
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Title: Regularization Paths for Regression Models with Grouped Covariates
Version: 3.2.2
Date: 2020-02-14
Authors@R: c(
person("Patrick", "Breheny", role=c("aut","cre"), email="[email protected]", comment=c(ORCID="000-0002-0650-1119")),
person("Patrick", "Breheny", role=c("aut","cre"), email="[email protected]", comment=c(ORCID="0000-0002-0650-1119")),
person("Yaohui", "Zeng", role="ctb"))
Depends: R (>= 3.1.0)
Imports: Matrix
Expand All @@ -18,4 +18,5 @@ BugReports: http://github.com/pbreheny/grpreg/issues
License: GPL-3
URL: http://pbreheny.github.io/grpreg, https://github.com/pbreheny/grpreg
LazyData: TRUE
RoxygenNote: 6.1.1
RoxygenNote: 7.0.2
Encoding: UTF-8
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# ncvreg 3.2.2 (2020-02-14)
* Change: Better error detection for ill-conditioned, unpenalized matrices
* Fixed: loss.grpsurv now works for total=FALSE
* Internal: Lots of internal changes for cleaner, more reliable code
* New version numbering system

# grpreg 3.2-1 (2019-02-26)
* Change: Cross-validation now balances censoring across folds for survival
models
Expand Down
2 changes: 1 addition & 1 deletion man/grpreg-package.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
nonconvex penalized linear and logistic regression models with
grouped predictors. \emph{Statistics and Computing}, \strong{25}:
173-187.
\url{http://www.springerlink.com/openurl.asp?genre=article&id=doi:10.1007/s11222-013-9424-2}
\url{http://dx.doi.org/10.1007/s11222-013-9424-2}

\item Breheny, P. (2015) The group exponential lasso for bi-level
variable selection. \emph{Biometrics}, \strong{71}: 731-740.
Expand Down
2 changes: 1 addition & 1 deletion man/grpreg.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ tau = 1/3, group.multiplier, warn=TRUE, returnX = FALSE, ...)
\item Breheny, P. and Huang, J. (2015) Group descent algorithms for
nonconvex penalized linear and logistic regression models with grouped
predictors. \emph{Statistics and Computing}, \strong{25}: 173-187.
\url{http://www.springerlink.com/openurl.asp?genre=article&id=doi:10.1007/s11222-013-9424-2}
\url{http://dx.doi.org/10.1007/s11222-013-9424-2}

\item Breheny, P. (2015) The group exponential lasso for bi-level
variable selection. \emph{Biometrics}, \strong{71}: 731-740.
Expand Down
2 changes: 1 addition & 1 deletion man/grpsurv.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ not correspond to the ith row of \code{X}):
\item Breheny, P. and Huang, J. (2015) Group descent algorithms for
nonconvex penalized linear and logistic regression models with grouped
predictors. \emph{Statistics and Computing}, \strong{25}: 173-187.
\url{http://www.springerlink.com/openurl.asp?genre=article&id=doi:10.1007/s11222-013-9424-2}
\url{http://dx.doi.org/10.1007/s11222-013-9424-2}

\item Breheny, P. (2015) The group exponential lasso for bi-level
variable selection. \emph{Biometrics}, \strong{71}: 731-740.
Expand Down
3 changes: 1 addition & 2 deletions src/gdfit_gaussian.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ SEXP gdfit_gaussian(SEXP X_, SEXP y_, SEXP penalty_, SEXP K1_, SEXP K0_,
for (int j=0; j<p; j++) a[j] = 0;
int *e = Calloc(J, int); // ever-active set
for (int g=0; g<J; g++) e[g] = 0;
int converged, lstart = 0, ng, nv, violations;
int lstart = 0, ng, nv, violations;
double shift, l1, l2, maxChange;

// variables for screening
Expand Down Expand Up @@ -373,7 +373,6 @@ SEXP gdfit_gaussian(SEXP X_, SEXP y_, SEXP penalty_, SEXP K1_, SEXP K0_,
while (tot_iter < max_iter) {
while (tot_iter < max_iter) {
while (tot_iter < max_iter) {
converged = 0;
INTEGER(iter)[l]++;
tot_iter++;
REAL(df)[l] = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/lcdfit_binomial.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ SEXP lcdfit_binomial(SEXP X_, SEXP y_, SEXP penalty_, SEXP K1_, SEXP K0_, SEXP l
for (int j=0; j<p; j++) a[j] = 0;
for (int j=0; j<p; j++) e[j] = 0;
}
int converged, lstart, ng, nv, violations;
int lstart, ng, nv, violations;
double shift, l1, l2, maxChange;

// If lam[0]=lam_max, skip lam[0] -- closed form sol'n available
Expand Down Expand Up @@ -226,7 +226,6 @@ SEXP lcdfit_binomial(SEXP X_, SEXP y_, SEXP penalty_, SEXP K1_, SEXP K0_, SEXP l

while (tot_iter < max_iter) {
while (tot_iter < max_iter) {
converged = 0;
INTEGER(iter)[l]++;
tot_iter++;

Expand Down

0 comments on commit 8cd9060

Please sign in to comment.