- Changed ggplot code to avoid using deprecated functions.
- Reduced test time by changing tests.dec
- Fixed a bug in corrected_lasso and cv_corrected lasso causing the algorithm to not converge, without issuing a warning. Thanks to Yuxiao Ruoyao for discovering the error (issue 47).
- Colorblind friendly plots in vignette. Thanks to Andre Cruz for suggesting.
- Removed C++11 flags from Makevars and Makevars.win.
- Fixed bug in stopping condition for projected gradient descent. Thanks to Michael Pollmann for discovering this.
- Fixed numerical overflow issue which happened for corrected lasso with Poisson regression.
- Fixes a bug in
corrected_lasso()
with thefamily = "poisson"
option. Thanks to Huang Jun for discovering this. - Corrected a logical error in the examples, in which the variance of the measurement errors was supplied as the standard error.
- Changed to Authors(at)R notation in DESCRIPTION.
- Package 'flare' removed from suggested dependencies.
- Changed used of
coef
function fromglmnet
, due to a breaking change inglmnet
.
- New function
cv_gds
which computes cross-validated generalized Dantzig selector.
- Added case weighting to
gds
andgmus
.
- This release contains all changes since 0.2.3, as listed under the headings below.
- Added coef methods
coef.corrected_lasso
,coef.gds
,coef.gmu_lasso
, andcoef.gmus
. - Added print methods
print.corrected_lasso
,print.cv_corrected_lasso
,print.gds
,print.gmu_lasso
, andprint.gmus
. - Improved
plot.corrected_lasso
to also handle the case of a single regularization parameter.
- Figured out how to install
Rglpk
on travis CI, so now this package is back in Imports, andlpSolveAPI
is no longer used.
- It turns out that travis CI is not able to install
Rglpk
. Hence, for the development versionRglpk
is back in Suggests, together withlpSolveAPI
.
- Added
Rglpk
back to Imports and removedlpSolveAPI
, as the latest version ofRglpk
passes all tests on CRAN, including osX. - Updated vignette.
- Cleaned up documentation, hiding internal functions from the index.
- Created unit tests.
Fixed random number seed issue which caused test to fail in R-devel.
Internal fix to fit_corrected_lasso
and cv_corrected_lasso
. Got rid of duplicated code by calling the function set_radius
.
Since Rglpk
does not install automatically on macOS, this package was moved from Imports to Suggests. In addition, lpSolveAPI
was added to Suggests. This means that the package should build also on systems that do not have Rglpk
, in particular the versions of macOS on CRAN.
The changes involved adding an optional linear solver from lpSolveAPI
in the function musalgorithm()
.
Added a plot.gds
function, which plots the coefficients estimated by fit_gds
.
Internal adjustment, which removed importing of external packages into the namespace, and instead specified the functions explicitly using ::
.
tidyverse
has been removed from Suggests field DESCRIPTION
. dplyr
and tidyr
have been added instead. Similarly, library(tidyverse)
in the vignette has been replaced by library(dplyr)
, library(tidyr)
, and library(ggplot2)
.
hdme
is now on CRAN.