{"id":32177312,"url":"https://github.com/dewittpe/ensr","last_synced_at":"2026-02-22T19:03:45.193Z","repository":{"id":56937012,"uuid":"151330445","full_name":"dewittpe/ensr","owner":"dewittpe","description":"Elastic Net SearcheR","archived":false,"fork":false,"pushed_at":"2020-03-02T20:51:46.000Z","size":3014,"stargazers_count":2,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-09T21:42:14.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dewittpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-02T22:14:27.000Z","updated_at":"2024-02-02T22:33:13.000Z","dependencies_parsed_at":"2022-08-21T05:50:51.600Z","dependency_job_id":null,"html_url":"https://github.com/dewittpe/ensr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dewittpe/ensr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fensr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fensr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fensr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fensr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dewittpe","download_url":"https://codeload.github.com/dewittpe/ensr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dewittpe%2Fensr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29723574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-21T20:02:37.712Z","updated_at":"2026-02-22T19:03:45.182Z","avatar_url":"https://github.com/dewittpe.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ensr: Elastic Net SearcheR \u003cimg src=\"man/figures/ensr.png\" width=173 height=200 align=\"right\"/\u003e\n\n[![Build Status](https://travis-ci.com/dewittpe/ensr.svg?branch=master)](https://travis-ci.com/dewittpe/ensr)\n\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/ensr)](https://cran.r-project.org/package=ensr)\n[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/ensr)](http://www.r-pkg.org/pkg/ensr)\n[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/ensr)](http://www.r-pkg.org/pkg/ensr)\n\nElastic Net regression models combine both the L1 and L2 penalties of lasso and\nridge regression.  There are two penalty terms, lambda and alpha.  Lambda is a\ncomplexity parameter and alpha is a balance between lasso and ridge.\n\nThe `cv.glmnet` function in [`glmnet`](https://cran.r-project.org/package=glmnet)\nwill perform cross validation to find the value of lambda for a given value of\nalpha.  `cv.glmnet` does not search over values of alpha.  The ensr package\nbuilds a grid of alpha and lambda values and, using cross-validation, suggests\npreferable values for both lambda and alpha.\n\nAfter installing this package we encourage you to read the vignette to see\nexamples.\n\n```r\nvignette(\"ensr-examples\", package = \"ensr\")\n```\n\n## Installing ensr\n\nensr is on [CRAN](https://cran.r-project.org/package=ensr).\n\n```r\ninstall.packages('ensr', repos = 'https://cran.rstudio.com')\n```\n\nInstall the development version from github:\n\n```r\nif ('remotes' %in% rownames(installed.packages())) {\n  install.packages('remotes', repos = \"https://cran.rstudio.com\")\n}\nremotes::install_github(\"dewittpe/ensr\", build_opts = c(\"--no-resave-data\"))\n```\n\n## Development version from Github\n\nThere are several ways you can install ensr.  If you are working on a Windows\nmachine you will need to have [Rtools](https://cran.r-project.org/bin/windows/Rtools/) installed.\n\n\n### Clone and Install\nThere are detailed instructions for cloning the repo in the `CONTRIBUTING.md`\nfile.  After cloning use the makefile to build, check, and install the ensr\npackage, e.g.,\n\n    make install\n\n## Contributing\nPlease read the `CONTRIBUTING.md` file.  There are details on the how to clone\nthe repo and the structure of this package.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewittpe%2Fensr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdewittpe%2Fensr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdewittpe%2Fensr/lists"}