{
  "_id": "6ac8baeede46216d5edd6373",
  "Package": "kldest",
  "Type": "Package",
  "Title": "Sample-Based Estimation of Kullback-Leibler Divergence",
  "Version": "1.0.0.9001",
  "Authors@R": "person(\"Niklas\", \"Hartung\", , \"niklas.hartung@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-4000-6525\"))",
  "Maintainer": "Niklas Hartung <niklas.hartung@gmail.com>",
  "Description": "Estimation algorithms for Kullback-Leibler divergence\nbetween two probability distributions, based on one or two\nsamples, and including uncertainty quantification.\nDistributions can be uni- or multivariate and continuous,\ndiscrete or mixed.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "ggplot2, reshape2, MASS",
  "URL": "https://niklhart.github.io/kldest/",
  "BugReports": "https://github.com/niklhart/kldest/issues",
  "Repository": "https://niklhart.r-universe.dev",
  "Date/Publication": "2024-09-19 15:02:32 UTC",
  "RemoteUrl": "https://github.com/niklhart/kldest",
  "RemoteRef": "HEAD",
  "RemoteSha": "c017f05a9d75fb02c56ff5390d733e174253370b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 09:34:09 UTC",
    "User": "root"
  },
  "Author": "Niklas Hartung [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-4000-6525>)",
  "_user": "niklhart",
  "_type": "src",
  "_file": "kldest_1.0.0.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/25663ecc4ccb3262db162d123e6b0cb33ae3e90ecd2d8228c2b33382fa8b1be4",
  "_filesize": 276680,
  "_sha256": "25663ecc4ccb3262db162d123e6b0cb33ae3e90ecd2d8228c2b33382fa8b1be4",
  "_expires": "2027-01-17T09:59:07.000Z",
  "_created": "2026-10-09T09:34:09.000Z",
  "_published": "2026-10-09T09:59:09.899Z",
  "_buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113759551731,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11607122859"
    },
    {
      "job": 113759551661,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11606708642"
    },
    {
      "job": 113759551730,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11609290648"
    },
    {
      "job": 113759551807,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11609715886"
    },
    {
      "job": 113758541839,
      "time": 171,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11607321390"
    },
    {
      "job": 113759551703,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11606363559"
    },
    {
      "job": 113759551834,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11606608729"
    },
    {
      "job": 113759551706,
      "time": 56,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11607486473"
    },
    {
      "job": 113759551699,
      "time": 68,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11606288909"
    }
  ],
  "_upstream": "https://github.com/niklhart/kldest",
  "_commit": {
    "id": "c017f05a9d75fb02c56ff5390d733e174253370b",
    "author": "Niklas Hartung <niklas.hartung@uni-potsdam.de>",
    "committer": "Niklas Hartung <niklas.hartung@uni-potsdam.de>",
    "message": "included failing example (torch required) into dontrun.\n",
    "time": 1726758152
  },
  "_maintainer": {
    "name": "Niklas Hartung",
    "email": "niklas.hartung@gmail.com",
    "login": "niklhart",
    "orcid": "0000-0002-4000-6525",
    "description": "",
    "uuid": 69799120
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "RANN",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "KernSmooth",
      "role": "Suggests"
    },
    {
      "package": "torch",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "niklhart",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "niklhart",
      "count": 75,
      "uuid": 69799120
    }
  ],
  "_userbio": {
    "uuid": 69799120,
    "type": "user",
    "name": "Niklas Hartung",
    "followers": 2
  },
  "_downloads": {
    "count": 268,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kldest"
  },
  "_devurl": "https://github.com/niklhart/kldest",
  "_pkgdown": "https://niklhart.github.io/kldest/",
  "_searchresults": 23,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kldest.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/niklhart/kldest",
  "_realowner": "niklhart",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-04-09"
    }
  ],
  "_exports": [
    "combinations",
    "constDiagMatrix",
    "convergence_rate",
    "kld_ci_bootstrap",
    "kld_ci_subsampling",
    "kld_discrete",
    "kld_est",
    "kld_est_brnn",
    "kld_est_discrete",
    "kld_est_kde1",
    "kld_est_kde2",
    "kld_est_neural",
    "kld_est_nn",
    "kld_exponential",
    "kld_gaussian",
    "kld_uniform",
    "kld_uniform_gaussian",
    "mvdnorm",
    "to_uniform_scale",
    "trapz"
  ],
  "_help": [
    {
      "page": "combinations",
      "title": "Combinations of input arguments",
      "topics": [
        "combinations"
      ]
    },
    {
      "page": "constDiagMatrix",
      "title": "Constant plus diagonal matrix",
      "topics": [
        "constDiagMatrix"
      ]
    },
    {
      "page": "convergence_rate",
      "title": "Empirical convergence rate of a KL divergence estimator",
      "topics": [
        "convergence_rate"
      ]
    },
    {
      "page": "is_two_sample",
      "title": "Detect if a one- or two-sample problem is specified",
      "topics": [
        "is_two_sample"
      ]
    },
    {
      "page": "kld_ci_bootstrap",
      "title": "Uncertainty of KL divergence estimate using Efron's bootstrap.",
      "topics": [
        "kld_ci_bootstrap"
      ]
    },
    {
      "page": "kld_ci_subsampling",
      "title": "Uncertainty of KL divergence estimate using Politis/Romano's subsampling bootstrap.",
      "topics": [
        "kld_ci_subsampling"
      ]
    },
    {
      "page": "kld_discrete",
      "title": "Analytical KL divergence for two discrete distributions",
      "topics": [
        "kld_discrete"
      ]
    },
    {
      "page": "kld_est",
      "title": "Kullback-Leibler divergence estimator for discrete, continuous or mixed data.",
      "topics": [
        "kld_est"
      ]
    },
    {
      "page": "kld_est_brnn",
      "title": "Bias-reduced generalized k-nearest-neighbour KL divergence estimation",
      "topics": [
        "kld_est_brnn"
      ]
    },
    {
      "page": "kld_est_discrete",
      "title": "Plug-in KL divergence estimator for samples from discrete distributions",
      "topics": [
        "kld_est_discrete"
      ]
    },
    {
      "page": "kld_est_kde",
      "title": "Kernel density-based Kullback-Leibler divergence estimation in any dimension",
      "topics": [
        "kld_est_kde"
      ]
    },
    {
      "page": "kld_est_kde1",
      "title": "1-D kernel density-based estimation of Kullback-Leibler divergence",
      "topics": [
        "kld_est_kde1"
      ]
    },
    {
      "page": "kld_est_kde2",
      "title": "2-D kernel density-based estimation of Kullback-Leibler divergence",
      "topics": [
        "kld_est_kde2"
      ]
    },
    {
      "page": "kld_est_neural",
      "title": "Neural KL divergence estimation (Donsker-Varadhan representation) using 'torch'",
      "topics": [
        "kld_est_neural"
      ]
    },
    {
      "page": "kld_est_nn",
      "title": "k-nearest neighbour KL divergence estimator",
      "topics": [
        "kld_est_nn"
      ]
    },
    {
      "page": "kld_exponential",
      "title": "Analytical KL divergence for two univariate exponential distributions",
      "topics": [
        "kld_exponential"
      ]
    },
    {
      "page": "kld_gaussian",
      "title": "Analytical KL divergence for two uni- or multivariate Gaussian distributions",
      "topics": [
        "kld_gaussian"
      ]
    },
    {
      "page": "kld_uniform",
      "title": "Analytical KL divergence for two uniform distributions",
      "topics": [
        "kld_uniform"
      ]
    },
    {
      "page": "kld_uniform_gaussian",
      "title": "Analytical KL divergence between a uniform and a Gaussian distribution",
      "topics": [
        "kld_uniform_gaussian"
      ]
    },
    {
      "page": "mvdnorm",
      "title": "Probability density function of multivariate Gaussian distribution",
      "topics": [
        "mvdnorm"
      ]
    },
    {
      "page": "to_uniform_scale",
      "title": "Transform samples to uniform scale",
      "topics": [
        "to_uniform_scale"
      ]
    },
    {
      "page": "tr",
      "title": "Matrix trace operator",
      "topics": [
        "tr"
      ]
    },
    {
      "page": "trapz",
      "title": "Trapezoidal integration in 1 or 2 dimensions",
      "topics": [
        "trapz"
      ]
    }
  ],
  "_readme": "https://github.com/niklhart/kldest/raw/HEAD/README.md",
  "_rundeps": [
    "RANN"
  ],
  "_score": 3.537819095073274,
  "_indexed": true,
  "_nocasepkg": "kldest",
  "_universes": [
    "niklhart"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:59.000Z",
      "distro": "resolute",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/f9c6c9c6351b67c6536a7caeb887360595ff0773c52d992332ed17eddfe66414",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:59.000Z",
      "distro": "resolute",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/11527709c8f1f13715964afb51fade6163ad63e9849acc844d4b2ff3a8c9b8c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:56:14.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/8a5a9d6840bcdceb7f6c5df4deb2104c3a2a9df3d01d650ae103c4f31f7d376f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:58:13.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/0077b894c9499886ff82a1e605a48b0f62cb99a84f39d5b91fb41ed756941509",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:56.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/840a9eb13340af6ed31dc33330aa1ccded777a1132ec230f746a9d3860fd3216",
      "status": "success",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:09.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/39f0e3ee5547a6f260fb35703e0a9db90c9b565ad048f4095cc54db58b1eebc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:02.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/8a936ba3c768d08c75ae2b4c4b9aa52bd1b1cc13776060ba8478a9af0cc70697",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-10-09T09:35:10.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "https://r2.ropensci.org/9adcf1cbdeb7b59a37a9183104a987c6dab4fd6679e8e9098f74d75663365d88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/37911791480"
    }
  ]
}