{
  "_id": "6ab38c1a3d719c1f84091090",
  "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-09-23 08:14:54 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/85aefeddf43dee08b88ec438eb2d757f1c18f386adcad4747f681530007950c4",
  "_filesize": 350448,
  "_sha256": "85aefeddf43dee08b88ec438eb2d757f1c18f386adcad4747f681530007950c4",
  "_expires": "2027-01-01T08:21:44.000Z",
  "_created": "2026-09-23T08:14:54.000Z",
  "_published": "2026-09-23T08:21:46.002Z",
  "_jobs": [
    {
      "job": 107099738725,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10738658405"
    },
    {
      "job": 107099738681,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10739596847"
    },
    {
      "job": 107099738872,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10739875088"
    },
    {
      "job": 107099738637,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10739436646"
    },
    {
      "job": 107098836355,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10738704754"
    },
    {
      "job": 107099738735,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10739226945"
    },
    {
      "job": 107099738749,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10738518793"
    },
    {
      "job": 107099738764,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10739636455"
    },
    {
      "job": 107099738711,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10738864644"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716",
  "_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": "Koji Makiyama",
    "followers": 133,
    "description": "Japanese translator of R for Everyone, Feature Engineering for Machine Learning, and Models of the Mind."
  },
  "_downloads": {
    "count": 516,
    "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": 90,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/densratio.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.969182859232261,
  "_indexed": true,
  "_nocasepkg": "densratio",
  "_universes": [
    "hoxo-m"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-09-23T08:17:26.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/9f0d3c49525999eab4faaa0d7a366d1a2fb1e5b309fa308168b2b6f4d7e406b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-09-23T08:17:47.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/84a8f213f32cb422743e66dac4d5c38e2fd1706e92a3b3a4288897b59cf0274c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-09-23T08:18:28.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/6a1757ed3a5f2c0c483997301056434b5163d313419d9adefaa494272cca4022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-09-23T08:20:26.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/38e3219800cbfbb6f6cff5de767e1f045349cd5be4174dfba055e74c42a39143",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-09-23T08:17:15.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/473b8ba4f0e7a3ba61026457a76d85618e8b601d0d23016d209c9290d65cf616",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-23T08:16:07.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/2cca07789c3a4dcaecfe7c62107bcebf06044d570ab766f922d13cb49a56408a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-23T08:16:06.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/dc7404fa8ca631a7a47e38854066d15b90f30f6b8e4e7634d30b93fdca9cd39c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-23T08:15:57.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/451304ba7965fb25cb55913ff07f46ef5881c601fe46160b8e4a9918af9b6a26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/35835766716"
    }
  ]
}