{
  "_id": "6a646a4d059529545f57759f",
  "Type": "Package",
  "Package": "densratio",
  "Title": "Density Ratio Estimation",
  "Version": "0.3.1",
  "Authors@R": "person(\"Koji\", \"Makiyama\", , \"hoxo.smile@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Density ratio estimation.  The estimated density ratio\nfunction can be used in many applications such as anomaly\ndetection, change-point detection, covariate shift adaptation.\nThe implemented methods are uLSIF (Hido et al. (2011)\n<doi:10.1007/s10115-010-0283-2>), RuLSIF (Yamada et al. (2011)\n<doi:10.1162/NECO_a_00442>), and KLIEP (Sugiyama et al. (2007)\n<doi:10.1007/s10463-008-0197-x>).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/hoxo-m/densratio,\nhttp://hoxo-m.github.io/densratio/",
  "BugReports": "https://github.com/hoxo-m/densratio/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Repository": "https://hoxo-m.r-universe.dev",
  "Date/Publication": "2026-05-01 16:29:39 UTC",
  "RemoteUrl": "https://github.com/hoxo-m/densratio",
  "RemoteRef": "HEAD",
  "RemoteSha": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-25 07:43:36 UTC",
    "User": "root"
  },
  "Author": "Koji Makiyama [aut, cre]",
  "Maintainer": "Koji Makiyama <hoxo.smile@gmail.com>",
  "_user": "hoxo-m",
  "_type": "src",
  "_file": "densratio_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3df440d36459917ec92d2ceda617e136571427f692da5e9cf0d0c6a7d8c80b20",
  "_filesize": 350389,
  "_sha256": "3df440d36459917ec92d2ceda617e136571427f692da5e9cf0d0c6a7d8c80b20",
  "_expires": "2026-11-02T07:48:27.000Z",
  "_created": "2026-07-25T07:43:36.000Z",
  "_published": "2026-07-25T07:48:29.256Z",
  "_jobs": [
    {
      "job": 89658178249,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8617274402"
    },
    {
      "job": 89658178269,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8617274431"
    },
    {
      "job": 89658178271,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8617291524"
    },
    {
      "job": 89658178275,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8617284330"
    },
    {
      "job": 89657930131,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8617254110"
    },
    {
      "job": 89658178260,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8617271482"
    },
    {
      "job": 89658178253,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8617267045"
    },
    {
      "job": 89658178276,
      "time": 70,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8617266573"
    },
    {
      "job": 89658178256,
      "time": 69,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8617266616"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358",
  "_status": "success",
  "_upstream": "https://github.com/hoxo-m/densratio",
  "_commit": {
    "id": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
    "author": "hoxo-m <hoxo.smile@gmail.com>",
    "committer": "hoxo-m <hoxo.smile@gmail.com>",
    "message": "Add pkgdown site\n",
    "time": 1777652979
  },
  "_maintainer": {
    "name": "Koji Makiyama",
    "email": "hoxo.smile@gmail.com",
    "login": "hoxo-m",
    "description": "Japanese translator of R for Everyone, Feature Engineering for Machine Learning, and Models of the Mind.",
    "uuid": 7479163
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "hoxo-m",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-18",
      "n": 15
    }
  ],
  "_tags": [],
  "_topics": [
    "anomaly-detection",
    "machine-learning",
    "statistics"
  ],
  "_stars": 23,
  "_contributors": [
    {
      "user": "hoxo-m",
      "count": 75,
      "uuid": 7479163
    }
  ],
  "_userbio": {
    "uuid": 7479163,
    "type": "user",
    "name": "hoxo-m",
    "followers": 134,
    "description": "Japanese translator of R for Everyone, Feature Engineering for Machine Learning, and Models of the Mind."
  },
  "_downloads": {
    "count": 423,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/densratio"
  },
  "_devurl": "https://github.com/hoxo-m/densratio",
  "_pkgdown": "http://hoxo-m.github.io/densratio/",
  "_searchresults": 89,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/densratio.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hoxo-m/densratio",
  "_realowner": "hoxo-m",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2016-03-29"
    },
    {
      "version": "0.1.1",
      "date": "2019-05-09"
    },
    {
      "version": "0.2.1",
      "date": "2019-06-30"
    },
    {
      "version": "0.3.1",
      "date": "2026-04-29"
    }
  ],
  "_exports": [
    "densratio",
    "KLIEP",
    "RuLSIF",
    "uLSIF"
  ],
  "_help": [
    {
      "page": "densratio",
      "title": "Estimate Density Ratio p(x)/q(x)",
      "topics": [
        "densratio"
      ]
    },
    {
      "page": "KLIEP",
      "title": "Estimate Density Ratio p(x)/q(x) by KLIEP (Kullback-Leibler Importance Estimation Procedure)",
      "topics": [
        "KLIEP"
      ]
    },
    {
      "page": "RuLSIF",
      "title": "Estimate alpha-Relative Density Ratio p(x)/(alpha p(x) + (1-alpha) q(x)) by RuLSIF (Relative unconstrained Least-Square Importance Fitting)",
      "topics": [
        "RuLSIF"
      ]
    },
    {
      "page": "squared_euclid_distance",
      "title": "Compute Squared Euclid Distance",
      "topics": [
        "squared_euclid_distance"
      ]
    },
    {
      "page": "uLSIF",
      "title": "Estimate Density Ratio p(x)/q(x) by uLSIF (unconstrained Least-Square Importance Fitting)",
      "topics": [
        "uLSIF"
      ]
    }
  ],
  "_readme": "https://github.com/hoxo-m/densratio/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "densratio.Rmd",
      "filename": "densratio.html",
      "title": "An R Package for Density Ratio Estimation",
      "author": "Koji MAKIYAMA (@hoxo-m)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Overview",
        "2. How to Install",
        "3. Details",
        "3.1. Basics",
        "3.2. Methods",
        "3.3. Result and Arguments",
        "4. Multi Dimensional Data Samples",
        "5. Related work",
        "References"
      ],
      "created": "2016-03-28 11:08:42",
      "modified": "2019-06-30 10:55:08",
      "commits": 11
    }
  ],
  "_score": 6.964330356437849,
  "_indexed": true,
  "_nocasepkg": "densratio",
  "_universes": [
    "hoxo-m"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-25T07:45:35.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/d51ed6a69f0a9753a3f4b603cb903e20acf71f36d9cd93298568d3a790a32ddb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-25T07:45:35.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/88b5358d496859ae030db0c9abd1003446e3a474f9711ea9c87a4c5ffac85b32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-25T07:47:24.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/2f6c0c8173c1ca0403770c21efb241399394c74b81da1d2f5fe2a385108ddea3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-25T07:46:42.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/e274c9d790a5855cca8c954ae6511a34192b9cd03300359f7aa9e23708c2fb60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-07-25T07:45:29.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/60dd216fd05fe82a279f27b875aa5423df46f8f65c169ab48c9d5427f946b906",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-25T07:44:46.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/62d935489848da31237719b2bb7314ad227cf38be56c4ab84768b17da9d33d80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-25T07:44:42.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/b46ee313c5bc1e325656ef05e93b2fb64d0ca4707491654a9e867d9b8d60cbc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-25T07:44:44.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/eaa270398a7d27ddbfdc2851c599a062172e3279f218c27e583ca4bad515a333",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/30149722358"
    }
  ]
}