{
  "_id": "6a10383cacfb0bcc41c9aa1a",
  "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-05-12 06:04:12 UTC",
    "User": "root"
  },
  "Author": "Niklas Hartung [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-4000-6525>)",
  "MD5sum": "77d84573ce96635329f8ebb3723f4ef9",
  "_user": "niklhart",
  "_type": "src",
  "_file": "kldest_1.0.0.9001.tar.gz",
  "_fileid": "80207178df970893798766c50e5c0a1dea0bd9105527e156894cb2cd51c473f3",
  "_filesize": 278046,
  "_sha256": "80207178df970893798766c50e5c0a1dea0bd9105527e156894cb2cd51c473f3",
  "_created": "2026-05-12T06:04:12.000Z",
  "_published": "2026-05-22T11:04:28.090Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77366991686,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936864742"
    },
    {
      "job": 77366991662,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936882209"
    },
    {
      "job": 77366991926,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936869868"
    },
    {
      "job": 77366991927,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936864574"
    },
    {
      "job": 77366991223,
      "time": 169,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936836035"
    },
    {
      "job": 77366991458,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158965887"
    },
    {
      "job": 77366992020,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936853933"
    },
    {
      "job": 77366991875,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6936853217"
    },
    {
      "job": 77366991700,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6936862226"
    }
  ],
  "_buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 69799120
  },
  "_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"
  },
  "_downloads": {
    "count": 183,
    "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.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kldest.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-05-12T06:06:13.000Z",
      "distro": "noble",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "cad42b2721d51c51d744c5dd04bc4ea4826b4c574feb249e7b3cfc7437cf9ae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:07:27.000Z",
      "distro": "noble",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "038901c88d3a65d93836806296990be9dfcd46608e1c6d67a8ab8f5bfaf1363d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:06:36.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "f1406826081a1b8dba127303ce9f6ddf72fcc401d9d247df9b4ab20b7cc89a8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:06:11.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "89f0887b39951ab42e7d35cb1ef439db0c331db3824c07ca35405e2215887faa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:05:21.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "c2116fe83b5b2ef94909adcc1926d03de7c740f877b78b2b00099027f37d8588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:05:19.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "a64fd724cfdad80da5b185e53e4be7693dd452636197e05e0847bc00eb3dc1fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0.9001",
      "date": "2026-05-12T06:05:54.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "1fc8d327ed973c80339e8c15411d34ea18403e318e853eec3166c303dc2b055c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9001",
      "date": "2026-05-22T11:04:10.000Z",
      "commit": "c017f05a9d75fb02c56ff5390d733e174253370b",
      "fileid": "46a1aa9108e1679c03efccbbeb4a6e992ac9ea28d106973a38de2332e4323812",
      "status": "success",
      "buildurl": "https://github.com/r-universe/niklhart/actions/runs/25716508847"
    }
  ]
}