{
  "_id": "6a250c7c4b233be198388077",
  "Package": "KPC",
  "Type": "Package",
  "Title": "Kernel Partial Correlation Coefficient",
  "Version": "0.1.3",
  "Authors@R": "c(person(\"Zhen\", \"Huang\", email = \"zh2395@columbia.edu\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Nabarun\", \"Deb\", email = \"nd2560@columbia.edu\",\nrole = \"ctb\"),\nperson(\"Bodhisattva\", \"Sen\", email = \"bodhi@stat.columbia.edu\",\nrole = \"ctb\"),\nperson(\"Benjamin\", \"Lang\", email = \"benjamin_lang@icloud.com\",\nrole = \"ctb\"))",
  "Maintainer": "Zhen Huang <zh2395@columbia.edu>",
  "Description": "Implementations of two empirical versions the kernel\npartial correlation (KPC) coefficient and the associated\nvariable selection algorithms. KPC is a measure of the strength\nof conditional association between Y and Z given X, with X, Y,\nZ being random variables taking values in general topological\nspaces. As the name suggests, KPC is defined in terms of\nkernels on reproducing kernel Hilbert spaces (RKHSs). The\npopulation KPC is a deterministic number between 0 and 1; it is\n0 if and only if Y is conditionally independent of Z given X,\nand it is 1 if and only if Y is a measurable function of Z and\nX. One empirical KPC estimator is based on geometric graphs,\nsuch as K-nearest neighbor graphs and minimum spanning trees,\nand is consistent under very weak conditions. The other\nempirical estimator, defined using conditional mean embeddings\n(CMEs) as used in the RKHS literature, is also consistent under\nsuitable conditions. Using KPC, a stepwise forward variable\nselection algorithm KFOCI (using the graph based estimator of\nKPC) is provided, as well as a similar stepwise forward\nselection algorithm based on the RKHS based estimator. For more\ndetails on KPC, its empirical estimators and its application on\nvariable selection, see Huang, Z., N. Deb, and B. Sen (2022).\n“Kernel partial correlation coefficient – a measure of\nconditional dependence” (URL listed below). When X is empty,\nKPC measures the unconditional dependence between Y and Z,\nwhich has been described in Deb, N., P. Ghosal, and B. Sen\n(2020), “Measuring association on topological spaces using\nkernels and geometric graphs” <doi:10.48550/arXiv.2010.01768>,\nand it is implemented in the functions KMAc() and Klin() in\nthis package. The latter can be computed in near linear time.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://www.jmlr.org/papers/v23/21-493.html,\nhttps://arxiv.org/abs/2012.14804, https://github.com/zh2395/KPC",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Repository": "https://zh2395.r-universe.dev",
  "Date/Publication": "2026-05-08 18:38:55 UTC",
  "RemoteUrl": "https://github.com/zh2395/kpc",
  "RemoteRef": "HEAD",
  "RemoteSha": "569a3c3c062ab07de92045247852e5a89f76dab0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 06:12:01 UTC",
    "User": "root"
  },
  "Author": "Zhen Huang [aut, cre],\nNabarun Deb [ctb],\nBodhisattva Sen [ctb],\nBenjamin Lang [ctb]",
  "MD5sum": "fe11558ff65d6bdcd2c2376a40c15653",
  "_user": "zh2395",
  "_type": "src",
  "_file": "KPC_0.1.3.tar.gz",
  "_fileid": "f326e4bf21d484d78242b131fc0c5e79819dd0dfc3d576d80a638312e7b6f2aa",
  "_filesize": 239019,
  "_sha256": "f326e4bf21d484d78242b131fc0c5e79819dd0dfc3d576d80a638312e7b6f2aa",
  "_created": "2026-06-07T06:12:01.000Z",
  "_published": "2026-06-07T06:15:24.047Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79936534841,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461355872"
    },
    {
      "job": 79936534858,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461351443"
    },
    {
      "job": 79936534845,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461349298"
    },
    {
      "job": 79936534846,
      "time": 73,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461346389"
    },
    {
      "job": 79936388581,
      "time": 148,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461337319"
    },
    {
      "job": 79936534833,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461348781"
    },
    {
      "job": 79936534855,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461348079"
    },
    {
      "job": 79936534867,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461347080"
    },
    {
      "job": 79936534852,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461357830"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/zh2395/kpc",
  "_commit": {
    "id": "569a3c3c062ab07de92045247852e5a89f76dab0",
    "author": "zh2395 <72772154+zh2395@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update DESCRIPTION",
    "time": 1778265535
  },
  "_maintainer": {
    "name": "Zhen Huang",
    "email": "zh2395@columbia.edu",
    "login": "zh2395",
    "description": "",
    "uuid": 72772154
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Depends"
    },
    {
      "package": "kernlab",
      "role": "Depends"
    },
    {
      "package": "RANN",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "mlpack",
      "role": "Imports"
    }
  ],
  "_owner": "zh2395",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "zh2395",
      "count": 70,
      "uuid": 72772154
    },
    {
      "user": "lang-benjamin",
      "count": 7,
      "uuid": 23262298
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 72772154,
    "type": "user",
    "name": "zh2395"
  },
  "_downloads": {
    "count": 474,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/KPC"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/zh2395/kpc",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/KPC.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/zh2395/kpc",
  "_realowner": "zh2395",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-01-08"
    },
    {
      "version": "0.1.1",
      "date": "2021-12-08"
    },
    {
      "version": "0.1.2",
      "date": "2022-10-05"
    },
    {
      "version": "0.1.3",
      "date": "2026-05-02"
    }
  ],
  "_exports": [
    "KFOCI",
    "Klin",
    "KMAc",
    "KPCgraph",
    "KPCRKHS",
    "KPCRKHS_VS",
    "TnKnn"
  ],
  "_datasets": [
    {
      "name": "ElecData",
      "title": "2017 Korea presidential election data",
      "object": "ElecData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "PrecinctCode",
        "CityCode",
        "CandidateName",
        "AveAge",
        "AveYearEdu",
        "AveHousePrice",
        "AveInsurance",
        "VoteRate",
        "NumVote"
      ],
      "rows": 1250,
      "table": true,
      "tojson": true
    },
    {
      "name": "med",
      "title": "Medical data from 35 patients",
      "object": "med",
      "class": [
        "data.frame"
      ],
      "fields": [
        "C",
        "D",
        "U"
      ],
      "rows": 35,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ElecData",
      "title": "2017 Korea presidential election data",
      "topics": [
        "ElecData"
      ]
    },
    {
      "page": "KFOCI",
      "title": "Kernel Feature Ordering by Conditional Independence",
      "topics": [
        "KFOCI"
      ]
    },
    {
      "page": "Klin",
      "title": "A near linear time analogue of KMAc",
      "topics": [
        "Klin"
      ]
    },
    {
      "page": "KMAc",
      "title": "KMAc (the unconditional version of graph-based KPC) with geometric graphs.",
      "topics": [
        "KMAc"
      ]
    },
    {
      "page": "KPCgraph",
      "title": "Kernel partial correlation with geometric graphs",
      "topics": [
        "KPCgraph"
      ]
    },
    {
      "page": "KPCRKHS",
      "title": "Kernel partial correlation with RKHS method",
      "topics": [
        "KPCRKHS"
      ]
    },
    {
      "page": "KPCRKHS_VS",
      "title": "Variable selection with RKHS estimator",
      "topics": [
        "KPCRKHS_VS"
      ]
    },
    {
      "page": "med",
      "title": "Medical data from 35 patients",
      "topics": [
        "med"
      ]
    },
    {
      "page": "TnKnn",
      "title": "Tn with geometric graphs",
      "topics": [
        "TnKnn"
      ]
    }
  ],
  "_readme": "https://github.com/zh2395/kpc/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "kernlab",
    "mlpack",
    "proxy",
    "RANN",
    "Rcpp",
    "RcppArmadillo",
    "RcppEnsmallen"
  ],
  "_score": 4.079181246047625,
  "_indexed": true,
  "_nocasepkg": "kpc",
  "_universes": [
    "zh2395"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-07T06:14:32.000Z",
      "distro": "noble",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "636615bafdddb812c757b4aa9dbec093ee93247101e910062678ec29f6f937bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:53.000Z",
      "distro": "noble",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "2ed130a41b058d9408f0e40852bf2b8e06bdd08316e78f9734670f42fdd1f2ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:42.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "1f81a0f8f323ecadd8ab98f360462f639f5b352db7af7864eba31f2381749be2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:19.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "e3003cd9a07ef471ccff174c6326111970d8e7cc9f69e14e5aa669c386a890d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:51.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "c3cb47b3896204e8cb948d5e0c01ef0bd2b79d0448d0a22b01a93c9280d5c405",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:18.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "a6391162e158ac9efbd346ed8da576788345e0a5c4d4a3c58b7ffec487a96d04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-07T06:13:11.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "b71051fe34ff85b787de3eaae1f90f9990c1b28e2dec7f7e539b19d9cf0554f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-07T06:14:49.000Z",
      "commit": "569a3c3c062ab07de92045247852e5a89f76dab0",
      "fileid": "04ba2bdc956a344d57f62c8c6a93a87f35935c8b17c32d7ff371f7c663a29e8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zh2395/actions/runs/27084575962"
    }
  ]
}