{
  "_id": "6a129dadacfb0bcc41d0f929",
  "Type": "Package",
  "Package": "mlfit",
  "Title": "Iterative Proportional Fitting Algorithms for Nested Structures",
  "Version": "0.6.1.9028",
  "Date": "2026-05-24",
  "Authors@R": "c(\nperson(\ngiven = \"Kirill\",\nfamily = \"Müller\",\nrole = c(\"aut\", \"cph\"),\ncomment = \"Creator of the package\"\n),\nperson(\ngiven = \"Kay W.\",\nfamily = \"Axhausen\",\nrole = \"ths\",\ncomment = \"Advisor of Kirill Müller\"\n),\nperson(\ngiven = \"Amarin\",\nfamily = \"Siripanich\",\nrole = c(\"aut\", \"cre\"),\nemail = \"amarin.siri@gmail.com\",\ncomment = \"Contributed `ml_replicate()`\"\n),\nperson(\ngiven = \"Taha H.\",\nfamily = \"Rashidi\",\nrole = \"ths\",\ncomment = \"Advisor of Amarin Siripanich\"\n)\n)",
  "Description": "The Iterative Proportional Fitting (IPF) algorithm\noperates on count data. This package offers implementations for\nseveral algorithms that extend this to nested structures:\n'parent' and 'child' items for both of which constraints can be\nprovided. The fitting algorithms include Iterative Proportional\nUpdating <https://trid.trb.org/view/881554>, Hierarchical IPF\n<doi:10.3929/ethz-a-006620748>, Entropy Optimization\n<https://trid.trb.org/view/881144>, and Generalized Raking\n<doi:10.2307/2290793>. Additionally, a number of replication\nmethods is also provided such as 'Truncate, replicate, sample'\n<doi:10.1016/j.compenvurbsys.2013.03.004>.",
  "License": "GPL (>= 3)",
  "URL": "https://mlfit.github.io/mlfit/, https://github.com/mlfit/mlfit",
  "BugReports": "https://github.com/mlfit/mlfit/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0.9000",
  "Repository": "https://mlfit.r-universe.dev",
  "Date/Publication": "2026-05-24 04:48:12 UTC",
  "RemoteUrl": "https://github.com/mlfit/mlfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 06:37:39 UTC",
    "User": "root"
  },
  "Author": "Kirill Müller [aut, cph] (Creator of the package),\nKay W. Axhausen [ths] (Advisor of Kirill Müller),\nAmarin Siripanich [aut, cre] (Contributed `ml_replicate()`),\nTaha H. Rashidi [ths] (Advisor of Amarin Siripanich)",
  "Maintainer": "Amarin Siripanich <amarin.siri@gmail.com>",
  "MD5sum": "5779f166e8bdd7e6c9554df6a0fa263a",
  "_user": "mlfit",
  "_type": "src",
  "_file": "mlfit_0.6.1.9028.tar.gz",
  "_fileid": "ba1b420ded6039d6463863a26306713a247b775b87fc778e9041a18dfabb59bc",
  "_filesize": 281332,
  "_sha256": "ba1b420ded6039d6463863a26306713a247b775b87fc778e9041a18dfabb59bc",
  "_created": "2026-05-24T06:37:39.000Z",
  "_published": "2026-05-24T06:41:49.508Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77577797925,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182948001"
    },
    {
      "job": 77577797921,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182947566"
    },
    {
      "job": 77577797917,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182954580"
    },
    {
      "job": 77577797914,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182952228"
    },
    {
      "job": 77577649688,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182932804"
    },
    {
      "job": 77577797918,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182942986"
    },
    {
      "job": 77577797949,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182943659"
    },
    {
      "job": 77577797940,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182945156"
    },
    {
      "job": 77577797962,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182944196"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mlfit/mlfit",
  "_commit": {
    "id": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
    "author": "krlmlr <krlmlr@users.noreply.github.com>",
    "committer": "krlmlr <krlmlr@users.noreply.github.com>",
    "message": "fledge: Bump version to 0.6.1.9028\n",
    "time": 1779598092
  },
  "_maintainer": {
    "name": "Amarin Siripanich",
    "email": "amarin.siri@gmail.com",
    "login": "asiripanich",
    "description": "🧡",
    "uuid": 17020181
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "BB",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "hms",
      "role": "Imports"
    },
    {
      "package": "kimisc",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "wrswoR",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "sampling",
      "role": "Suggests"
    },
    {
      "package": "waldo",
      "role": "Suggests"
    }
  ],
  "_owner": "mlfit",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 8
    },
    {
      "week": "2026-21",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.6.1.9016",
      "date": "2025-11-10"
    },
    {
      "name": "v0.6.1.9017",
      "date": "2025-11-12"
    },
    {
      "name": "v0.6.1.9018",
      "date": "2025-11-17"
    },
    {
      "name": "v0.6.1.9019",
      "date": "2026-01-14"
    },
    {
      "name": "v0.6.1.9020",
      "date": "2026-03-08"
    },
    {
      "name": "v0.6.1.9021",
      "date": "2026-03-22"
    },
    {
      "name": "v0.6.1.9022",
      "date": "2026-05-04"
    },
    {
      "name": "v0.6.1.9023",
      "date": "2026-05-06"
    },
    {
      "name": "v0.6.1.9024",
      "date": "2026-05-10"
    },
    {
      "name": "v0.6.1.9025",
      "date": "2026-05-10"
    },
    {
      "name": "v0.6.1.9026",
      "date": "2026-05-13"
    },
    {
      "name": "v0.6.1.9027",
      "date": "2026-05-16"
    },
    {
      "name": "v0.6.1.9028",
      "date": "2026-05-24"
    }
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "krlmlr",
      "count": 284,
      "uuid": 1741643
    },
    {
      "user": "asiripanich",
      "count": 154,
      "uuid": 17020181
    },
    {
      "user": "indrajeetpatil",
      "count": 8,
      "uuid": 11330453
    }
  ],
  "_userbio": {
    "uuid": 84219224,
    "type": "organization",
    "name": "mlfit"
  },
  "_downloads": {
    "count": 267,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlfit"
  },
  "_devurl": "https://github.com/mlfit/mlfit",
  "_pkgdown": "https://mlfit.github.io/mlfit/",
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlfit.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mlfit/mlfit",
  "_realowner": "mlfit",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.2",
      "date": "2021-07-02"
    },
    {
      "version": "0.5.3",
      "date": "2021-10-08"
    }
  ],
  "_exports": [
    "as_flat_ml_fit_problem",
    "compute_margins",
    "dss",
    "fitting_problem",
    "flatten_ml_fit_problem",
    "gginv",
    "is_ml_fit",
    "is_ml_problem",
    "margin_to_df",
    "ml_fit",
    "ml_fit_dss",
    "ml_fit_entropy_o",
    "ml_fit_hipf",
    "ml_fit_ipu",
    "ml_problem",
    "ml_replicate",
    "special_field_names",
    "toy_example"
  ],
  "_help": [
    {
      "page": "mlfit-package",
      "title": "mlfit: Iterative Proportional Fitting Algorithms for Nested Structures",
      "topics": [
        "mlfit-package",
        "mlfit"
      ]
    },
    {
      "page": "compute_margins",
      "title": "Compute margins for a weighting of a multi-level fitting problem",
      "topics": [
        "compute_margins",
        "margin_to_df"
      ]
    },
    {
      "page": "dss",
      "title": "Calibrate sample weights",
      "topics": [
        "dss"
      ]
    },
    {
      "page": "flatten_ml_fit_problem",
      "title": "Return a flattened representation of a multi-level fitting problem instance",
      "topics": [
        "as_flat_ml_fit_problem",
        "flatten_ml_fit_problem"
      ]
    },
    {
      "page": "gginv",
      "title": "Generalized Inverse of a Matrix using a custom tolerance or SVD implementation",
      "topics": [
        "gginv"
      ]
    },
    {
      "page": "ml_fit",
      "title": "Estimate weights for a fitting problem",
      "topics": [
        "format.ml_fit",
        "is_ml_fit",
        "ml_fit",
        "ml_fit_dss",
        "ml_fit_entropy_o",
        "ml_fit_hipf",
        "ml_fit_ipu",
        "print.ml_fit"
      ]
    },
    {
      "page": "ml_problem",
      "title": "Create an instance of a fitting problem",
      "topics": [
        "format.ml_problem",
        "is_ml_problem",
        "ml_problem",
        "print.ml_problem",
        "special_field_names"
      ]
    },
    {
      "page": "ml_replicate",
      "title": "Replicate records in a reference sample based on its fitted weights",
      "topics": [
        "ml_replicate"
      ]
    },
    {
      "page": "toy_example",
      "title": "Access to toy examples bundled in this package",
      "topics": [
        "toy_example"
      ]
    }
  ],
  "_readme": "https://github.com/mlfit/mlfit/raw/HEAD/README.md",
  "_rundeps": [
    "BB",
    "cachem",
    "cli",
    "dplyr",
    "fastmap",
    "forcats",
    "generics",
    "glue",
    "hms",
    "kimisc",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "pillar",
    "pkgconfig",
    "plyr",
    "quadprog",
    "R6",
    "Rcpp",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "wrswoR"
  ],
  "_score": 5.561101383649056,
  "_indexed": true,
  "_nocasepkg": "mlfit",
  "_universes": [
    "mlfit",
    "asiripanich"
  ],
  "_previous": "0.6.1.9027",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:39:42.000Z",
      "distro": "noble",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "5044b2cac5d1d65a10d528e2042cac7dff1fc74600425f352af0a463f679964c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:39:43.000Z",
      "distro": "noble",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "9ebd1515634155b25bf726b31120ac2e043610a12337237987afac4026b5f85c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:41:09.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "9c098f5482cb515eddb7acfb55cec4f33040f73dea01ee51f179fd739f55e4c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:40:44.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "822f1a78f4ad66868f28d7af5c1a22a3ffac920504a7351f29ce3976b8c5760d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:39:43.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "97c6ed01bdb6840d40373ea0d59fbdce8d769db94e64e91067073ecfbfde9150",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:38:55.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "6bae684643779093de6f4092aa0d69b644b4808d4d84c228a55b45f5ae72b765",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:39:03.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "5882cb9cc6179756e9e0e114233d747995936ecee03a23dfe7054dddf1f19446",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.1.9028",
      "date": "2026-05-24T06:39:02.000Z",
      "commit": "8b8429b5f9c76bfd88f2fb2e48a3bd07eb72f473",
      "fileid": "b0787ec0671496d482f95a90dd185532f1526543302b1a8fa21e4df220ed2e80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mlfit/actions/runs/26354132303"
    }
  ]
}