{
  "_id": "6a1f0927b401979e7341c2d0",
  "Package": "forestRK",
  "Version": "0.0-5",
  "Encoding": "UTF-8",
  "Title": "Implements the Forest-R.K. Algorithm for Classification Problems",
  "Description": "Provides functions that calculates common types of\nsplitting criteria used in random forests for classification\nproblems, as well as functions that make predictions based on a\nsingle tree or a Forest-R.K. model; the package also provides\nfunctions to generate importance plot for a Forest-R.K. model,\nas well as the 2D multidimensional-scaling plot of data points\nthat are colour coded by their predicted class types by the\nForest-R.K. model. This package is based on: Bernard, S.,\nHeutte, L., Adam, S., (2008, ISBN:978-3-540-85983-3)\n\"Forest-R.K.: A New Random Forest Induction Method\", Fourth\nInternational Conference on Intelligent Computing, September\n2008, Shanghai, China, pp.430-437.",
  "Authors@R": "c(\nperson(\"Hyunjin\", \"Cho\", email = \"h56cho@uwaterloo.ca\", role = c(\"aut\",\"cre\")),\nperson(\"Rebecca\", \"Su\", email = \"y57su@uwaterloo.ca\", role = \"ctb\"))",
  "Author": "Hyunjin Cho [aut, cre], Rebecca Su [ctb]",
  "Maintainer": "Hyunjin Cho <h56cho@uwaterloo.ca>",
  "License": "GPL (>= 3) | file LICENSE",
  "Note": "The package is also based on the discussion\nhttps://stats.stackexchange.com/questions/168964/building-a-regression-tree-with-r-from-scratch/168967#168967",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "R.rsp",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://h56cho.r-universe.dev",
  "Date/Publication": "2019-07-21 18:55:23 UTC",
  "RemoteUrl": "https://github.com/h56cho/forestrk",
  "RemoteRef": "HEAD",
  "RemoteSha": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 06:13:01 UTC",
    "User": "root"
  },
  "MD5sum": "f00eb5292684596114aa6724414eff5b",
  "_user": "h56cho",
  "_type": "src",
  "_file": "forestRK_0.0-5.tar.gz",
  "_fileid": "a2f4bc7fdf6cf5130a7369dfa2ed8e57dea5b274411a54ef48cec1b6051a135b",
  "_filesize": 690957,
  "_sha256": "a2f4bc7fdf6cf5130a7369dfa2ed8e57dea5b274411a54ef48cec1b6051a135b",
  "_created": "2026-05-18T06:13:01.000Z",
  "_published": "2026-06-02T16:47:35.863Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79124268447,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7050723061"
    },
    {
      "job": 79124268490,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7050721691"
    },
    {
      "job": 79124268535,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7050718348"
    },
    {
      "job": 79124268570,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7050719459"
    },
    {
      "job": 79124268067,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050686839"
    },
    {
      "job": 79124267515,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364191486"
    },
    {
      "job": 79124268724,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7050717662"
    },
    {
      "job": 79124269080,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7050711315"
    },
    {
      "job": 79124268599,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7050713045"
    }
  ],
  "_buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/h56cho/forestrk",
  "_commit": {
    "id": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
    "author": "Hyunjin-Dominique Cho <52889259+h56cho@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update pred.treeRK.R",
    "time": 1563735323
  },
  "_maintainer": {
    "name": "Hyunjin Cho",
    "email": "h56cho@uwaterloo.ca",
    "login": "h56cho",
    "description": "",
    "uuid": 52889259
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rapportools",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "pkgKitten",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "mlbench",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "h56cho",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "h56cho",
      "count": 74,
      "uuid": 52889259
    }
  ],
  "_userbio": {
    "uuid": 52889259,
    "type": "user",
    "name": "Hyunjin-Dominique Cho"
  },
  "_downloads": {
    "count": 168,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/forestRK"
  },
  "_devurl": "https://github.com/h56cho/forestrk",
  "_searchresults": 35,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/forestRK.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/h56cho/forestrk",
  "_realowner": "h56cho",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0-5",
      "date": "2019-07-19"
    }
  ],
  "_exports": [
    "bstrap",
    "construct.treeRK",
    "criteria.after.split.calculator",
    "criteria.calculator",
    "cutoff.node.and.covariate.index.finder",
    "draw.treeRK",
    "ends.index.finder",
    "forestRK",
    "get.tree.forestRK",
    "importance.forestRK",
    "importance.plot.forestRK",
    "mds.plot.forestRK",
    "pred.forestRK",
    "pred.treeRK",
    "var.used.forestRK",
    "x.organizer",
    "y.organizer"
  ],
  "_help": [
    {
      "page": "bstrap",
      "title": "Performs bootstrap sampling of the (training) dataset",
      "topics": [
        "bstrap"
      ]
    },
    {
      "page": "construct.treeRK",
      "title": "Constructs a classification tree on the (training) dataset, by implementing the RK (Random 'K') algorithm",
      "topics": [
        "construct.treeRK"
      ]
    },
    {
      "page": "criteria.after.split.calculator",
      "title": "Calculates Entropy or Gini Index of a node after a given split",
      "topics": [
        "criteria.after.split.calculator"
      ]
    },
    {
      "page": "criteria.calculator",
      "title": "Calculates Entropy or Gini Index of a particular node before (or without) a split",
      "topics": [
        "criteria.calculator"
      ]
    },
    {
      "page": "cutoff.node.and.covariate.index.finder",
      "title": "Identifies optimal cutoff point of an impure node for splitting after applying the 'rk' (Random K) algorithm.",
      "topics": [
        "cutoff.node.and.covariate.index.finder"
      ]
    },
    {
      "page": "draw.treeRK",
      "title": "Creates a 'igraph' plot of a 'rktree'",
      "topics": [
        "draw.treeRK"
      ]
    },
    {
      "page": "ends.index.finder",
      "title": "Identifies numerical indices of the end nodes of a 'rktree' from the matrix of hierarchical flags.",
      "topics": [
        "ends.index.finder"
      ]
    },
    {
      "page": "forestRK",
      "title": "Builds up a random forest RK model based on the given (training) dataset",
      "topics": [
        "forestRK"
      ]
    },
    {
      "page": "get.tree.forestRK",
      "title": "Extracts the structure of one or more trees in a forestRK object",
      "topics": [
        "get.tree.forestRK"
      ]
    },
    {
      "page": "importance.forestRK",
      "title": "Calculates Gini Importance or Mean Decrease Impurity (same algorithm is used in 'scikit-learn') of each covariate that we consider in the 'forestRK' model",
      "topics": [
        "importance.forestRK"
      ]
    },
    {
      "page": "importance.plot.forestRK",
      "title": "Generates importance 'ggplot' of the covariates considered in the 'forestRK' model",
      "topics": [
        "importance.plot.forestRK"
      ]
    },
    {
      "page": "mds.plot.forestRK",
      "title": "Makes 2D MDS (multidimensional scaling) 'ggplot' of the test observations based on the predictions from a 'forestRK' model.",
      "topics": [
        "mds.plot.forestRK"
      ]
    },
    {
      "page": "pred.forestRK",
      "title": "Make predictions on the test data based on the forestRK model constructed from the training data",
      "topics": [
        "pred.forestRK"
      ]
    },
    {
      "page": "pred.treeRK",
      "title": "Make predictions on the test observations based on a rktree model",
      "topics": [
        "pred.treeRK"
      ]
    },
    {
      "page": "var.used.forestRK",
      "title": "Extract the list of covariates used to perform the splits to generate a particular tree(s) in a 'forestRK' object",
      "topics": [
        "var.used.forestRK"
      ]
    },
    {
      "page": "x.organizer",
      "title": "Numericizing a data frame of covariates from the original dataset via Binary or Numeric Encoding",
      "topics": [
        "x.organizer"
      ]
    },
    {
      "page": "y.organizer",
      "title": "Numericize the vector containing categorical class type('y') of the original data",
      "topics": [
        "y.organizer"
      ]
    }
  ],
  "_readme": "https://github.com/h56cho/forestrk/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "digest",
    "evaluate",
    "farver",
    "Formula",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "igraph",
    "inum",
    "isoband",
    "knitr",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mlbench",
    "mvtnorm",
    "pander",
    "partykit",
    "pkgconfig",
    "pkgKitten",
    "plyr",
    "R6",
    "rapportools",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "forestRK_vignette.html.asis",
      "filename": "forestRK_vignette.html",
      "title": "forestRK",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2019-07-17 18:38:38",
      "modified": "2019-07-17 18:38:38",
      "commits": 1
    }
  ],
  "_score": 4.243038048686294,
  "_indexed": true,
  "_nocasepkg": "forestrk",
  "_universes": [
    "h56cho"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0-5",
      "date": "2026-05-18T06:15:12.000Z",
      "distro": "noble",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "987a774c1db5f75ba5f7d6588014448cb6c60aa3e498e8fb0a226530f10adf47",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0-5",
      "date": "2026-05-18T06:15:02.000Z",
      "distro": "noble",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "e81e0d50d4209a346ceb9ecb7bafe40518b185330e8679c11dfa9cdec4bf5474",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0-5",
      "date": "2026-05-18T06:15:02.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "21e6de2335790eb1a9661bc7a4abdf42e5b9f6d368be047f3f6a40fa097f70d6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0-5",
      "date": "2026-05-18T06:15:10.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "1817f35888a12d775bf0f033563d95b9368aff42a2832af5613d0c07061b8341",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0-5",
      "date": "2026-05-18T06:14:49.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "da1fb54e27384b4daac67994a5b598cc97da1124f8783cdd987d3469baf44bad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0-5",
      "date": "2026-05-18T06:14:12.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "230d8a0dedbe2c18c3f688421a74e03b7cf46a488dc0013abd11973295be03f1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0-5",
      "date": "2026-05-18T06:14:19.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "921d0e9ed00710ce90c8514ff8b64f038bb03387ed672a6d4c078a8862ee475a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0-5",
      "date": "2026-06-02T16:47:13.000Z",
      "commit": "2c1ea77b071121fe3934ad89cd3485e97bfe3b4c",
      "fileid": "b7dfff7105de487b693c664b7d933c5539dc7802da9ed6580588f07512961973",
      "status": "success",
      "buildurl": "https://github.com/r-universe/h56cho/actions/runs/26016665372"
    }
  ]
}