archer-yang-lab / gglasso

Automatically exported from code.google.com/p/gglasso
GNU General Public License v2.0
10 stars 5 forks source link

Fix documentation for weight least squares #9

Closed sahirbhatnagar closed 4 years ago

sahirbhatnagar commented 4 years ago

This PR fixes the documentation for weight least squares option. It also adds an example to the vignette, and a KKT check in the tests for loss='wls' . This PR closes #7 . Please note that loss='wls' has only been implemented in gglasso::gglasso. There is currently no option for cross-validation with weights, i.e., gglasso::cv.gglasso(..., loss = 'wls') will return an error.