{"id":13423643,"url":"https://github.com/corels/rcppcorels","last_synced_at":"2025-03-21T00:32:45.142Z","repository":{"id":56934132,"uuid":"219329068","full_name":"corels/rcppcorels","owner":"corels","description":"R Bindings to the Certifiably Optimal Rule Lists (Corels) Learner ","archived":false,"fork":false,"pushed_at":"2022-02-04T17:08:45.000Z","size":406,"stargazers_count":45,"open_issues_count":1,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-02T01:41:49.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/corels.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-03T16:18:08.000Z","updated_at":"2024-01-04T16:39:18.000Z","dependencies_parsed_at":"2022-08-21T00:40:26.629Z","dependency_job_id":null,"html_url":"https://github.com/corels/rcppcorels","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corels%2Frcppcorels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corels%2Frcppcorels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corels%2Frcppcorels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corels%2Frcppcorels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corels","download_url":"https://codeload.github.com/corels/rcppcorels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717391,"owners_count":20498283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-07-31T00:00:39.581Z","updated_at":"2025-03-21T00:32:45.120Z","avatar_url":"https://github.com/corels.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"\n# corels: R interface to 'Certifiably Optimal RulE ListS' (Corels)\n\n[![CI](https://github.com/corels/rcppcorels/actions/workflows/ci.yaml/badge.svg)](https://github.com/corels/rcppcorels/actions/workflows/ci.yaml)\n[![License](https://eddelbuettel.github.io/badges/GPL2+.svg)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![CRAN](https://www.r-pkg.org/badges/version/corels)](https://cran.r-project.org/package=corels)\n[![Dependencies](https://tinyverse.netlify.app/badge/corels)](https://cran.r-project.org/package=corels)\n[![Downloads](https://cranlogs.r-pkg.org/badges/corels?color=brightgreen)](https://www.r-pkg.org:443/pkg/corels)\n\n## What is it?\n\nCORELS is  a custom discrete  optimization technique for building  rule lists\nover a categorical feature space. The algorithm provides the optimal solution\nwith a certificate of optimality. By leveraging algorithmic bounds, efficient\ndata  structures, and  computational  reuse, it  achieves  several orders  of\nmagnitude speedup in time and a massive reduction of memory consumption. This\napproach produces  optimal rule lists  on practical problems in  seconds, and\noffers a novel alternative to CART and other decision tree methods.\n\nSee the [C++ implementation](https://github.com/corels/corels), the\n[live website](https://corels.cs.ubc.ca/corels), the [Python\nimplementation](https://github.com/corels/pycorels), the [arXiv\npaper](https://arxiv.org/abs/1704.01701), the [JMLR\npaper](https://www.jmlr.org/papers/volume18/17-716/17-716.pdf), the [senior\nthesis](https://corels.cs.ubc.ca/corels/Larus-Stone_thesis.pdf) or the [KDD 2017\npaper](https://www.kdd.org/kdd2017/papers/view/learning-certifiably-optimal-rule-lists-for-categorical-data)\nfor more.\n\nMore about Corels can also be read in [this recent post at _The Morning Paper_](https://blog.acolyer.org/2019/10/30/corels/).\n\n## Illustration\n\n![](https://raw.githubusercontent.com/fingoldin/pycorels/master/utils/Corels.png)\n\nWith thanks to the [Python\nimplementation](https://github.com/corels/pycorels) for the image.\n\n## What is this package?\n\nWe use [Rcpp](https://github.com/RcppCore/Rcpp) to connect the [Corels C++\nimplementation](https://github.com/corels/corels) to R.\n\n## Status\n\nInstalls and works fine, and passed `R CMD check`. Several extensions\npossible, see below.\n\n## Installation\n\nAs the package is not (yet?) on CRAN, do\n\n```r\nremotes::install_github(\"eddelbuettel/rcppcorels\")\n```\n\nNote of the [GNU GMP library](https://gmplib.org/) is now optional;\n`configure` will enable (via a `-DGMP` define and link instructions) if\nfound. GMP will improve performance, so you may want to do `sudo apt-get\ninstall libgmp-dev`, or whatever equivalent command you need to install it on\nyour system.\n\n## TODOs\n\nPlenty such as adding Travis CI support, adding configure code to detect GNU\nGMP presence, adding examples, factoring out (input) data reader code,\npossibly visualizing decision trees, and more.\n\n## Author\n\nDirk Eddelbuettel wrote the R package and integration.\n\nNicholas Larus-Stone and Elaine Angelino wrote the C++ implementation of\nCorels.\n\nElaine Angelino, Nicholas Larus-Stone, Daniel Alabi, Margo Seltzer, and\nCynthia Rudin wrote the paper.\n\nCorels uses the rulelib library by Yang _et al_ described in the [2016 arXiv paper\nby Hongyu Yang, Cynthia Rudin, and Margo Seltzer](https://arxiv.org/abs/1602.08610) with\n[this code repo](https://github.com/Hongyuy/sbrl) and in the [2015 arXiv\npaper by Benjamin Letham, Cynthia Rudin, Tyler H. McCormick and David\nMadigan](https://arxiv.org/abs/1511.01644) now published in _Annals of Statistics_.\n\n## License\n\nThis package is released under the GPL-3, as is Corels.\n\nThe rulelib library is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorels%2Frcppcorels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorels%2Frcppcorels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorels%2Frcppcorels/lists"}