{
  "_id": "6a605d8e14e95619b75d8ec8",
  "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-07-22 06:01:29 UTC",
    "User": "root"
  },
  "Author": "Nan Xiao [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0250-5673>)",
  "Maintainer": "Nan Xiao <me@nanx.me>",
  "_user": "nanxstats",
  "_type": "src",
  "_file": "stackgbm_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d7eab1ac9771f0a1cf422aaa9b9ff5665f682ae771d752c6bad513ca505d2331",
  "_filesize": 143656,
  "_sha256": "d7eab1ac9771f0a1cf422aaa9b9ff5665f682ae771d752c6bad513ca505d2331",
  "_expires": "2026-10-30T06:05:00.000Z",
  "_created": "2026-07-22T06:01:29.000Z",
  "_published": "2026-07-22T06:05:02.113Z",
  "_jobs": [
    {
      "job": 88844621602,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8519853941"
    },
    {
      "job": 88844621621,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8519841386"
    },
    {
      "job": 88844621563,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8519837584"
    },
    {
      "job": 88844621583,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8519828261"
    },
    {
      "job": 88844132407,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8519798193"
    },
    {
      "job": 88844621591,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8519838063"
    },
    {
      "job": 88844621678,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8519825687"
    },
    {
      "job": 88844621681,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8519827789"
    },
    {
      "job": 88844621653,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8519824240"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254",
  "_status": "success",
  "_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": "Statistician",
    "uuid": 199363,
    "orcid": "0000-0002-0250-5673"
  },
  "_distro": "resolute",
  "_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",
    "followers": 810,
    "description": "Statistician"
  },
  "_downloads": {
    "count": 362,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stackgbm"
  },
  "_devurl": "https://github.com/nanxstats/stackgbm",
  "_pkgdown": "https://nanx.me/stackgbm/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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-07-22T06:04:25.000Z",
      "distro": "resolute",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/eaf6345de05480195cbf394dc335544b30d53fc101e1d2361ac4e23fdd5df2f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-22T06:03:41.000Z",
      "distro": "resolute",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/fb7e93dfdc9498130fbb622b896792592a1ac156f0fea305c3b29141a23fa048",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-22T06:03:29.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/4e43babbf5644d2ffb6345f68367a660a009dc742f96564218c55feb45dba866",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-22T06:03:03.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/19e2d843afe91b7b16ae63c48ea43a86a0f2174d7acd36b787042fa197ad5ccf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-22T06:03:49.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/835bae9104b0ac1402353686a526c3e0ce5c9cd7ea9b7e4cb355e55670ed9bcb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-22T06:02:46.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/b9ad30b72833a7746df45e8d8bc27e6a12a7b76ee5cc775c0672d59cb1072051",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-22T06:02:54.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/e4f95568c48639e6fbea828c90c459aae0ae9ec36ba29377fef4bf4b6a266380",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-22T06:02:42.000Z",
      "commit": "db33de5656579aff009eb5c186378fabe7b5fb1e",
      "fileid": "https://r2.ropensci.org/7b3bc36485b14bb3ffeaaf1591e020878b2cf46bc0332e2989973ac84c0f97e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/29895296254"
    }
  ]
}