{
  "_id": "6a49844e6d67900babdf81fc",
  "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-04 22:04:45 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/f557495513423a884e41fb5554f6baa8d12a2f57a592ef2f4bf08d4ae9a6825f",
  "_filesize": 352975,
  "_sha256": "f557495513423a884e41fb5554f6baa8d12a2f57a592ef2f4bf08d4ae9a6825f",
  "_expires": "2026-10-12T22:08:12.000Z",
  "_created": "2026-07-04T22:04:45.000Z",
  "_published": "2026-07-04T22:08:14.901Z",
  "_jobs": [
    {
      "job": 85170720894,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085844899"
    },
    {
      "job": 85170720906,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085844380"
    },
    {
      "job": 85170720907,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085834309"
    },
    {
      "job": 85170720910,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085836341"
    },
    {
      "job": 85170497239,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085826149"
    },
    {
      "job": 85170720934,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8085837147"
    },
    {
      "job": 85170720909,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085836041"
    },
    {
      "job": 85170720895,
      "time": 65,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085833623"
    },
    {
      "job": 85170720936,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085835734"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616",
  "_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": 135,
    "description": "Japanese translator of R for Everyone, Feature Engineering for Machine Learning, and Models of the Mind."
  },
  "_downloads": {
    "count": 604,
    "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-04T22:07:40.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/a226d190f77057cd2ce9074084f7bdf97828d62b059f556a74e923e5ea2ced6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-07-04T22:07:33.000Z",
      "distro": "resolute",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/8d977f83d16527768ca36a613663c8ae9335a2df38a57e4145b95bef9eda476d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-04T22:06:04.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/9e5a3a264a4dbd282a18427e13423b4b9f162607f180f05764463a1fc1fd478e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-07-04T22:06:21.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/6cdfe8a26bd23c8e79d46704d801d8efbef79468dec7d197391dd9dd4698b71b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-07-04T22:06:38.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/f8099d0b2b3c0efd23e19f6676882ea714b0412a21ca64d010a9056e919d3783",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-04T22:06:10.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/26b68f784250211f0cceaff1e5777523a478ce715bbf3e34da8e4438b2ff99c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-04T22:05:50.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/ff20182c34278bc3c649289cd9b179f1fe417b9fb72099129b55e2c8f0ab82bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-07-04T22:06:09.000Z",
      "commit": "7219a48aef16a2b8b93fa7bbeea9ec3050dbfee1",
      "fileid": "https://r2.ropensci.org/18953e476fc8209f7af64afa15544ba4a9d152382df762809d1e8bdc79ffd8ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hoxo-m/actions/runs/28721003616"
    }
  ]
}