{"id":40362487,"url":"https://github.com/nt-williams/mlr3superlearner","last_synced_at":"2026-01-20T10:31:40.016Z","repository":{"id":162302300,"uuid":"635562722","full_name":"nt-williams/mlr3superlearner","owner":"nt-williams","description":"Super learner fitting and prediction using mlr3","archived":false,"fork":false,"pushed_at":"2025-02-20T21:25:49.000Z","size":92,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-20T22:28:16.096Z","etag":null,"topics":["ensemble-learning","machine-learning"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nt-williams.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T00:55:20.000Z","updated_at":"2025-02-19T19:22:10.000Z","dependencies_parsed_at":"2023-07-14T03:19:40.246Z","dependency_job_id":"b145ec09-b399-483d-841c-4ca004468b84","html_url":"https://github.com/nt-williams/mlr3superlearner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nt-williams/mlr3superlearner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt-williams%2Fmlr3superlearner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt-williams%2Fmlr3superlearner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt-williams%2Fmlr3superlearner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt-williams%2Fmlr3superlearner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nt-williams","download_url":"https://codeload.github.com/nt-williams/mlr3superlearner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nt-williams%2Fmlr3superlearner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ensemble-learning","machine-learning"],"created_at":"2026-01-20T10:31:39.953Z","updated_at":"2026-01-20T10:31:40.009Z","avatar_url":"https://github.com/nt-williams.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# mlr3superlearner\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![R-CMD-check](https://github.com/nt-williams/mlr3superlearner/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/nt-williams/mlr3superlearner/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nAn modern implementation of the [Super Learner](https://biostats.bepress.com/ucbbiostat/paper266/) prediction algorithm using the [mlr3](https://mlr3.mlr-org.com/) framework, and an adherence to the recommendations of [Phillips, van der Laan, Lee, and Gruber (2023)](https://doi.org/10.1093/ije/dyad023)\n\n## Installation\n\nYou can install the development version of mlr3superlearner from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"nt-williams/mlr3superlearner\")\n``` \n\n## Example\n\n```{r example}\nlibrary(mlr3superlearner)\nlibrary(mlr3extralearners)\n\n# No hyperparameters\nmlr3superlearner(mtcars, \"mpg\", c(\"mean\", \"glm\", \"svm\", \"ranger\"), \"continuous\")\n\n# With hyperparameters\nfit \u003c- mlr3superlearner(mtcars, \"mpg\", \n                        list(\"mean\", \"glm\", \"xgboost\", \"svm\", \"earth\",\n                             list(\"nnet\", trace = FALSE),\n                             list(\"ranger\", num.trees = 500, id = \"ranger1\"),\n                             list(\"ranger\", num.trees = 1000, id = \"ranger2\")), \n                        \"continuous\")\n\nfit\n\nhead(data.frame(pred = predict(fit, mtcars), truth = mtcars$mpg))\n```\n\n## Available learners\n\n```{r}\nknitr::kable(available_learners(\"binomial\"))\nknitr::kable(available_learners(\"continuous\"))\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnt-williams%2Fmlr3superlearner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnt-williams%2Fmlr3superlearner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnt-williams%2Fmlr3superlearner/lists"}