Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neelsoumya/lasso_elasticnet_example_r
Example of LASSO and elastic net in R
https://github.com/neelsoumya/lasso_elasticnet_example_r
Last synced: 4 days ago
JSON representation
Example of LASSO and elastic net in R
- Host: GitHub
- URL: https://github.com/neelsoumya/lasso_elasticnet_example_r
- Owner: neelsoumya
- License: gpl-3.0
- Created: 2024-03-04T10:33:20.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-04T10:37:30.000Z (9 months ago)
- Last Synced: 2024-03-04T11:55:59.127Z (9 months ago)
- Language: R
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
Example of LASSO and elastic net in R
## Installation
```python
install.packages('glmnet')
```## Code
Run the code using
```python
R --no-save < lasso_elasticnet.R```
## Acknowledgements
Adapted from
https://glmnet.stanford.edu/articles/glmnet.html#logistic-regression-family-binomial