{
  "_id": "6a114820acfb0bcc41ce8070",
  "Package": "stackgbm",
  "Title": "Stacked Gradient Boosting Machines",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Nan\", \"Xiao\", email = \"me@nanx.me\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-0250-5673\")))",
  "Description": "A minimalist implementation of model stacking by Wolpert\n(1992) <doi:10.1016/S0893-6080(05)80023-1> for boosted tree\nmodels. A classic, two-layer stacking model is implemented,\nwhere the first layer generates features using gradient\nboosting trees, and the second layer employs a logistic\nregression model that uses these features as inputs. Utilities\nfor training the base models and parameters tuning are\nprovided, allowing users to experiment with different ensemble\nconfigurations easily. It aims to provide a simple and\nefficient way to combine multiple gradient boosting models to\nimprove predictive model performance and robustness.",
  "License": "MIT + file LICENSE",
  "URL": "https://nanx.me/stackgbm/, https://github.com/nanxstats/stackgbm",
  "BugReports": "https://github.com/nanxstats/stackgbm/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Repository": "https://nanxstats.r-universe.dev",
  "Date/Publication": "2024-05-01 02:31:22 UTC",
  "RemoteUrl": "https://github.com/nanxstats/stackgbm",
  "RemoteRef": "HEAD",
  "RemoteSha": "db33de5656579aff009eb5c186378fabe7b5fb1e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 06:21:49 UTC",
    "User": "root"
  },
  "Author": "Nan Xiao [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0250-5673>)",
  "Maintainer": "Nan Xiao <me@nanx.me>",
  "MD5sum": "07504dcf32230a4149b568962e0c6667",
  "_user": "nanxstats",
  "_type": "src",
  "_file": "stackgbm_0.1.0.tar.gz",
  "_fileid": "c2d2cb7a64bed6df4583b977c3820dc45fc78852f4381495f9139d285651b0ba",
  "_filesize": 143583,
  "_sha256": "c2d2cb7a64bed6df4583b977c3820dc45fc78852f4381495f9139d285651b0ba",
  "_created": "2026-05-23T06:21:49.000Z",
  "_published": "2026-05-23T06:24:32.252Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77502853342,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174901965"
    },
    {
      "job": 77502853339,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174901700"
    },
    {
      "job": 77502853329,
      "time": 69,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174895952"
    },
    {
      "job": 77502853332,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174897409"
    },
    {
      "job": 77502651426,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174887965"
    },
    {
      "job": 77502853320,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174899082"
    },
    {
      "job": 77502853345,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174897670"
    },
    {
      "job": 77502853336,
      "time": 76,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174896589"
    },
    {
      "job": 77502853341,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174899294"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nanxstats/stackgbm",
  "_commit": {
    "id": "db33de5656579aff009eb5c186378fabe7b5fb1e",
    "author": "Nan Xiao <me@nanx.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #33 from nanxstats/vignette-example\n\nUse a more challenging example",
    "time": 1714530682
  },
  "_maintainer": {
    "name": "Nan Xiao",
    "email": "me@nanx.me",
    "login": "nanxstats",
    "bluesky": "@nanxstats.bsky.social",
    "linkedin": "in/nanxstats",
    "twitter": "@nanxstats",
    "description": "Data Scientist @Genentech",
    "uuid": 199363,
    "orcid": "0000-0002-0250-5673"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lightgbm",
      "role": "Suggests"
    },
    {
      "package": "msaenet",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    }
  ],
  "_owner": "nanxstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "automl",
    "catboost",
    "decision-trees",
    "ensemble-learning",
    "gbdt",
    "gbm",
    "gradient-boosting",
    "lightgbm",
    "machine-learning",
    "model-stacking",
    "xgboost"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "nanxstats",
      "count": 117,
      "uuid": 199363
    }
  ],
  "_userbio": {
    "uuid": 199363,
    "type": "user",
    "name": "Nan Xiao",
    "description": "Data Scientist @Genentech"
  },
  "_downloads": {
    "count": 598,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stackgbm"
  },
  "_devurl": "https://github.com/nanxstats/stackgbm",
  "_pkgdown": "https://nanx.me/stackgbm/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stackgbm.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nanxstats/stackgbm",
  "_realowner": "nanxstats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-04-30"
    }
  ],
  "_exports": [
    "catboost_load_pool",
    "catboost_predict",
    "catboost_train",
    "cv_catboost",
    "cv_lightgbm",
    "cv_param_grid",
    "cv_xgboost",
    "is_installed_catboost",
    "is_installed_lightgbm",
    "is_installed_xgboost",
    "lightgbm_train",
    "stackgbm",
    "xgboost_dmatrix",
    "xgboost_train"
  ],
  "_help": [
    {
      "page": "catboost_load_pool",
      "title": "Create a dataset",
      "topics": [
        "catboost_load_pool"
      ]
    },
    {
      "page": "catboost_predict",
      "title": "Predict based on the model",
      "topics": [
        "catboost_predict"
      ]
    },
    {
      "page": "catboost_train",
      "title": "Train the model",
      "topics": [
        "catboost_train"
      ]
    },
    {
      "page": "cv_catboost",
      "title": "catboost - parameter tuning and model selection with k-fold cross-validation and grid search",
      "topics": [
        "cv_catboost"
      ]
    },
    {
      "page": "cv_lightgbm",
      "title": "lightgbm - parameter tuning and model selection with k-fold cross-validation and grid search",
      "topics": [
        "cv_lightgbm"
      ]
    },
    {
      "page": "cv_param_grid",
      "title": "Generate a parameter grid for cross-validation",
      "topics": [
        "cv_param_grid"
      ]
    },
    {
      "page": "cv_xgboost",
      "title": "xgboost - parameter tuning and model selection with k-fold cross-validation and grid search",
      "topics": [
        "cv_xgboost"
      ]
    },
    {
      "page": "is_installed_catboost",
      "title": "Is catboost installed?",
      "topics": [
        "is_installed_catboost"
      ]
    },
    {
      "page": "is_installed_lightgbm",
      "title": "Is lightgbm installed?",
      "topics": [
        "is_installed_lightgbm"
      ]
    },
    {
      "page": "is_installed_xgboost",
      "title": "Is xgboost installed?",
      "topics": [
        "is_installed_xgboost"
      ]
    },
    {
      "page": "lightgbm_train",
      "title": "Train lightgbm model",
      "topics": [
        "lightgbm_train"
      ]
    },
    {
      "page": "predict.stackgbm",
      "title": "Make predictions from a stackgbm model object",
      "topics": [
        "predict.stackgbm"
      ]
    },
    {
      "page": "stackgbm",
      "title": "Model stacking for boosted trees",
      "topics": [
        "stackgbm"
      ]
    },
    {
      "page": "xgboost_dmatrix",
      "title": "Create xgb.DMatrix object",
      "topics": [
        "xgboost_dmatrix"
      ]
    },
    {
      "page": "xgboost_train",
      "title": "Train xgboost model",
      "topics": [
        "xgboost_train"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nanxstats/stackgbm/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nanxstats/stackgbm/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "crayon",
    "glue",
    "hms",
    "lifecycle",
    "pkgconfig",
    "prettyunits",
    "pROC",
    "progress",
    "R6",
    "Rcpp",
    "rlang",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "stackgbm.Rmd",
      "filename": "stackgbm.html",
      "title": "Model stacking for boosted trees",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Generate data",
        "Parameter tuning",
        "Train the stackgbm model",
        "Inference",
        "Performance evaluation",
        "xgboost",
        "lightgbm",
        "catboost",
        "Tabular summary",
        "ROC curves",
        "Notes on categorical features",
        "References"
      ],
      "created": "2020-06-16 22:20:44",
      "modified": "2024-05-01 02:31:22",
      "commits": 15
    }
  ],
  "_score": 5.096910013008056,
  "_indexed": true,
  "_nocasepkg": "stackgbm",
  "_universes": [
    "nanxstats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:58.000Z",
      "distro": "noble",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "f1f6e3ca1cbfcfca006f73dd3306ab3a168bf0cdff454326b0692728cd4e24b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:56.000Z",
      "distro": "noble",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "876b6d3cabd218cbd987bc6097104040501b54e0dc3319088e4bb511fbf64d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:07.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "5dcdb8a4e06ab64d3213e84342c3960b3a5daa84234408cd36dac47eed3f3c0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:20.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "ae96510e18840f78195273991539a5be0ab212e63840d422597a2bf466964c2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:49.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "57f265bf352be62e5461e1dd6e69a10c6c702398dc6e1825ae64dd4ad45d223a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:14.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "f19f33c5113196a5cc1f43e5555a63ccc8765db0c0bf5de7d25dd09a6f2a874d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:03.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "f4cf32b205f905688a2a6b20700c3347f0bd133558b3c42b448d447386220b5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T06:23:27.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "12b8b138c64ab06887fb1aa813927103ddd14a5bd793cc4a5e49c63124ced0c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/26325587322"
    }
  ]
}