{"id":22848409,"url":"https://github.com/feedzai/feedzai-openml-r","last_synced_at":"2025-10-17T01:59:32.903Z","repository":{"id":52544716,"uuid":"136463998","full_name":"feedzai/feedzai-openml-r","owner":"feedzai","description":"Implementations for Feedzai's OpenML APIs to allow for usage of machine learning models in the R programming language.","archived":false,"fork":false,"pushed_at":"2021-04-26T16:29:32.000Z","size":359,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-30T04:49:01.639Z","etag":null,"topics":["caret","data-science","feedzai","machine-learning","machine-learning-algorithms","openml","r","rserve"],"latest_commit_sha":null,"homepage":"https://www.feedzai.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feedzai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-07T10:55:19.000Z","updated_at":"2021-04-07T14:15:03.000Z","dependencies_parsed_at":"2022-08-26T09:42:19.737Z","dependency_job_id":null,"html_url":"https://github.com/feedzai/feedzai-openml-r","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ffeedzai-openml-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ffeedzai-openml-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ffeedzai-openml-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Ffeedzai-openml-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedzai","download_url":"https://codeload.github.com/feedzai/feedzai-openml-r/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644827,"owners_count":21620630,"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":["caret","data-science","feedzai","machine-learning","machine-learning-algorithms","openml","r","rserve"],"created_at":"2024-12-13T04:12:07.906Z","updated_at":"2025-10-17T01:59:27.851Z","avatar_url":"https://github.com/feedzai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feedzai OpenML Provider for R\n[![Build Status](https://travis-ci.com/feedzai/feedzai-openml-r.svg?branch=master)](https://travis-ci.com/feedzai/feedzai-openml-r)\n[![codecov](https://codecov.io/gh/feedzai/feedzai-openml-r/branch/master/graph/badge.svg)](https://codecov.io/gh/feedzai/feedzai-openml-r)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/206f6d793ad44c06a3039a185a30a8a3?branch=master)](https://www.codacy.com/app/feedzai/feedzai-openml-r?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=feedzai/feedzai-openml-r\u0026amp;utm_campaign=Badge_Grade)\n\nImplementations of the Feedzai OpenML API to allow support for machine\nlearning models in the [R programming language](https://www.r-project.org/)\nusing [RServe](https://www.rforge.net/Rserve/doc.html). \n\n## Modules\n\n### Generic R\n[![Maven metadata URI](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/com/feedzai/openml-generic-r/maven-metadata.xml.svg)](https://mvnrepository.com/artifact/com.feedzai/openml-generic-r)\n\nThe `openml-generic-r` module contains a provider that allows\ndevelopers to load R code that conforms to a simple API.\nThis is the most powerful approach (yet more cumbersome) since models\ncan actually hold state.\n\nThe provider can be pulled from Maven Central:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.feedzai\u003c/groupId\u003e\n  \u003cartifactId\u003eopenml-generic-r\u003c/artifactId\u003e\n  \u003c!-- See project tags for latest version --\u003e\n  \u003cversion\u003e0.4.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Caret\n[![Maven metadata URI](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/com/feedzai/openml-caret/maven-metadata.xml.svg)](https://mvnrepository.com/artifact/com.feedzai/openml-caret)\n\nThe implementation in the `openml-caret` module adds support for models built with\n[Caret](https://topepo.github.io/caret/index.html).\n\nThis module can be pulled from Maven Central:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.feedzai\u003c/groupId\u003e\n  \u003cartifactId\u003eopenml-caret\u003c/artifactId\u003e\n  \u003c!-- See project tags for latest version --\u003e\n  \u003cversion\u003e0.4.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Building\nThis is a Maven project which you can build using\n```bash\nmvn clean install\n```\n\n\n## Prerequisites for running tests\n\nTo use these providers you need to have [R Project](https://www.r-project.org/) installed in your environment.\nAfter installing R, you need to install the R packages that the provider uses. The easiest way is to install them from [CRAN](https://cran.r-project.org/).\n\nNote that this section only describes the known prerequisites that are common to any model generated in R.\nBefore importing a model you need to ensure that the required packages for that model are also installed.\n\nFinally you must install Rserve.\n\n\n### Example in CentOS7:\n\nExecute the following bash commands:\n\n```bash\n# repo that has R\nyum -y install epel-release;\n\n# needed for R dependencies\nyum -y install libcurl-devel openssl-devel gsl-devel libwebp-devel librsvg2-devel R;\n\n# start R\nR\n```\n\nExecute the following R instructions:\n```\n# Load caret\ninstall.packages(\"caret\", dependencies=TRUE, repos = \"http://cran.radicaldevelop.com/\")\n\n# Load all classification model implementations\n# https://topepo.github.io/caret/available-models.html\n# https://github.com/tobigithub/caret-machine-learning/wiki/caret-ml-setup\nlibrary(caret)\nmodNames \u003c- unique(modelLookup()[modelLookup()\\$forClass,c(1)])\ninstall.packages(modNames, dependencies=TRUE, repos = \"http://cran.radicaldevelop.com/\")\n\n# Load Rserve (needed for Pulse \u003c-\u003e R communication)\ninstall.packages(\"Rserve\", dependencies=TRUE, repos = \"http://cran.radicaldevelop.com/\"})\n```\n\n### Docker \nFeedzai has built a helpful docker image for testing, [available on docker hub](https://hub.docker.com/r/feedzai/rserve-caret/),\nthat is being used in this repository's continuous integration. See the [travis-ci configuration](.travis.yml) commands\non how to use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ffeedzai-openml-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedzai%2Ffeedzai-openml-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ffeedzai-openml-r/lists"}