{
  "_id": "6a1bd5351d7bb097a0a1589f",
  "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-05-31 06:16:30 UTC",
    "User": "root"
  },
  "Author": "Koji Makiyama [aut, cre]",
  "Maintainer": "Koji Makiyama <hoxo.smile@gmail.com>",
  "MD5sum": "905370101b37104d405b0463fd9df9c2",
  "_user": "hoxo-m",
  "_type": "src",
  "_file": "densratio_0.3.1.tar.gz",
  "_fileid": "6ee3923750a566ebadaa4af9df7f0989141689e6a727edbade7d7a34eb183805",
  "_filesize": 349571,
  "_sha256": "6ee3923750a566ebadaa4af9df7f0989141689e6a727edbade7d7a34eb183805",
  "_created": "2026-05-31T06:16:30.000Z",
  "_published": "2026-05-31T06:29:09.723Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78704904067,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314363253"
    },
    {
      "job": 78704904050,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314361666"
    },
    {
      "job": 78704904056,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314422398"
    },
    {
      "job": 78704904060,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314421117"
    },
    {
      "job": 78704762027,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314349384"
    },
    {
      "job": 78704904049,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314359163"
    },
    {
      "job": 78704904077,
      "time": 93,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314358869"
    },
    {
      "job": 78704904065,
      "time": 114,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314361163"
    },
    {
      "job": 78704904059,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314357312"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Japanese translator of R for Everyone, Feature Engineering for Machine Learning, and Models of the Mind."
  },
  "_downloads": {
    "count": 708,
    "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": 79,
  "_rbuild": "4.6.0",
  "_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",
    "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.912567441083378,
  "_indexed": true,
  "_nocasepkg": "densratio",
  "_universes": [
    "hoxo-m"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-31T06:18:41.000Z",
      "distro": "noble",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "711283e8769fba46a133ec86d821390c0dc49611ab18e5df873644ab2b866cc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-31T06:18:29.000Z",
      "distro": "noble",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "9b0ad8c0ee7fcb33caf7d81feb0f63e2769258723a8a6f107926a620ebc32a9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-31T06:28:18.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "989677efd70036af9e860f7b453ee6eb89b6ef2eaec223cb3ca050864c9cdbb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-31T06:28:01.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "097aef36f0f6d7ca595a6cf6d44ba5616d92ab54fea7a9b72bfb2129d0aac890",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-05-31T06:18:19.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "aa3c4fa81acdf020b13a576054ea72a4f24c195e8046e6fecdc54ce7952a4b90",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-31T06:18:00.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "7e16b34d6bb715262b74bccfed0d3ce7c86467e1f4a4395c647f086308702b55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-31T06:18:20.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "b3d8c708533122691763a99d3d7524e3430b354ec842973f2648866b4ddebcc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-31T06:17:42.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "aa4761d870a16cad537f581dc0a6dd6fcb6de3c9de14dc8f8f19c5c5156e9173",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/26705107998"
    }
  ]
}