Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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