{
  "_id": "6a119848acfb0bcc41cfccd6",
  "Type": "Package",
  "Package": "gips",
  "Title": "Gaussian Model Invariant by Permutation Symmetry",
  "Version": "1.2.3.9000",
  "Authors@R": "c(\nperson(c(\"Adam\", \"Przemysław\"), \"Chojecki\", , \"adam.prze.choj@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0008-2902-4096\")),\nperson(\"Paweł\", \"Morgen\", , \"seriousmorgen@protonmail.com\", role = \"aut\"),\nperson(\"Bartosz\", \"Kołodziejek\", , \"b.kolodziejek@mini.pw.edu.pl\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-5220-9012\"))\n)",
  "Description": "Find the permutation symmetry group such that the\ncovariance matrix of the given data is approximately invariant\nunder it. Discovering such a permutation decreases the number\nof observations needed to fit a Gaussian model, which is of\ngreat use when it is smaller than the number of variables. Even\nif that is not the case, the covariance matrix found with\n'gips' approximates the actual covariance with less statistical\nerror. The methods implemented in this package are described in\nGraczyk et al. (2022) <doi:10.1214/22-AOS2174>. Documentation\nabout 'gips' is provided via its website at\n<https://przechoj.github.io/gips/> and the paper by Chojecki,\nMorgen, Kołodziejek (2025, <doi:10.18637/jss.v112.i07>).",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/PrzeChoj/gips, https://przechoj.github.io/gips/",
  "BugReports": "https://github.com/PrzeChoj/gips/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://przechoj.r-universe.dev",
  "Date/Publication": "2026-05-23 11:18:30 UTC",
  "RemoteUrl": "https://github.com/przechoj/gips",
  "RemoteRef": "HEAD",
  "RemoteSha": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 12:03:24 UTC",
    "User": "root"
  },
  "Author": "Adam Przemysław Chojecki [aut, cre] (ORCID:\n<https://orcid.org/0009-0008-2902-4096>),\nPaweł Morgen [aut],\nBartosz Kołodziejek [aut] (ORCID:\n<https://orcid.org/0000-0002-5220-9012>)",
  "Maintainer": "Adam Przemysław Chojecki <adam.prze.choj@gmail.com>",
  "MD5sum": "07fac71009b34255e6872c7886c8ab74",
  "_user": "przechoj",
  "_type": "src",
  "_file": "gips_1.2.3.9000.tar.gz",
  "_fileid": "622b57c83c7f5db7a8e80fd4b04fffa5b4c859123a5c551b0046e548c282370b",
  "_filesize": 1342599,
  "_sha256": "622b57c83c7f5db7a8e80fd4b04fffa5b4c859123a5c551b0046e548c282370b",
  "_created": "2026-05-23T12:03:24.000Z",
  "_published": "2026-05-23T12:06:32.111Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77519912365,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7176744343"
    },
    {
      "job": 77519912366,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7176744657"
    },
    {
      "job": 77519912371,
      "time": 76,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7176738142"
    },
    {
      "job": 77519912368,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7176739812"
    },
    {
      "job": 77519669879,
      "time": 274,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7176731651"
    },
    {
      "job": 77519912364,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7176742696"
    },
    {
      "job": 77519912384,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7176740750"
    },
    {
      "job": 77519912383,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7176739753"
    },
    {
      "job": 77519912386,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7176739270"
    }
  ],
  "_buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/przechoj/gips",
  "_commit": {
    "id": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
    "author": "PrzeChoj <premysl.choj@gmail.com>",
    "committer": "PrzeChoj <premysl.choj@gmail.com>",
    "message": "refactor: decompose monolithic gips_class.R into smaller, organized files\n",
    "time": 1779535110
  },
  "_maintainer": {
    "name": "Adam Przemysław Chojecki",
    "email": "adam.prze.choj@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "numbers",
      "role": "Imports"
    },
    {
      "package": "permutations",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.10",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "DAAG",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "graphics",
      "role": "Suggests"
    },
    {
      "package": "hash",
      "role": "Suggests"
    },
    {
      "package": "HSAUR2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "version": ">= 7.3-39",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "przechoj",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-21",
      "n": 6
    }
  ],
  "_tags": [],
  "_topics": [
    "covariance-estimation",
    "machine-learning",
    "normal-distribution"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "mrdomani",
      "count": 85,
      "uuid": 43793383
    },
    {
      "user": "przechoj",
      "count": 69,
      "uuid": 43790001
    },
    {
      "user": "kolodziejek",
      "count": 8,
      "uuid": 112619831
    },
    {
      "user": "zetrextjg",
      "count": 2,
      "uuid": 44850303
    }
  ],
  "_userbio": {
    "uuid": 43790001,
    "type": "user",
    "name": "PrzeChoj"
  },
  "_downloads": {
    "count": 750,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gips"
  },
  "_devurl": "https://github.com/przechoj/gips",
  "_pkgdown": "https://przechoj.github.io/gips/",
  "_searchresults": 27,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gips.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/przechoj/gips",
  "_realowner": "przechoj",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-10-13"
    },
    {
      "version": "1.2.0",
      "date": "2023-08-07"
    },
    {
      "version": "1.2.1",
      "date": "2023-08-13"
    },
    {
      "version": "1.2.3",
      "date": "2025-03-18"
    }
  ],
  "_exports": [
    "calculate_gamma_function",
    "compare_log_posteriories_of_perms",
    "compare_posteriories_of_perms",
    "find_MAP",
    "forget_perms",
    "get_probabilities_from_gips",
    "get_structure_constants",
    "gips",
    "gips_perm",
    "log_posteriori_of_gips",
    "new_gips",
    "new_gips_perm",
    "prepare_orthogonal_matrix",
    "project_matrix",
    "validate_gips",
    "validate_gips_perm"
  ],
  "_help": [
    {
      "page": "AIC.gips",
      "title": "Akaike's An Information Criterion for 'gips' class",
      "topics": [
        "AIC.gips",
        "BIC.gips"
      ]
    },
    {
      "page": "as.character.gips",
      "title": "Transform the 'gips' object to a character vector",
      "topics": [
        "as.character.gips"
      ]
    },
    {
      "page": "as.character.gips_perm",
      "title": "Transform the 'gips_perm' object to a character vector",
      "topics": [
        "as.character.gips_perm"
      ]
    },
    {
      "page": "calculate_gamma_function",
      "title": "Calculate Gamma function",
      "topics": [
        "calculate_gamma_function"
      ]
    },
    {
      "page": "compare_posteriories_of_perms",
      "title": "Compare the posteriori probabilities of 2 permutations",
      "topics": [
        "compare_log_posteriories_of_perms",
        "compare_posteriories_of_perms"
      ]
    },
    {
      "page": "find_MAP",
      "title": "Find the Maximum A Posteriori Estimation",
      "topics": [
        "find_MAP"
      ]
    },
    {
      "page": "forget_perms",
      "title": "Forget the permutations for 'gips' object optimized with 'save_all_perms = TRUE'",
      "topics": [
        "forget_perms"
      ]
    },
    {
      "page": "get_probabilities_from_gips",
      "title": "Extract probabilities for 'gips' object optimized with 'return_probabilities = TRUE'",
      "topics": [
        "get_probabilities_from_gips"
      ]
    },
    {
      "page": "get_structure_constants",
      "title": "Get Structure Constants",
      "topics": [
        "get_structure_constants"
      ]
    },
    {
      "page": "gips",
      "title": "The constructor of a 'gips' class.",
      "topics": [
        "gips",
        "new_gips",
        "validate_gips"
      ]
    },
    {
      "page": "gips_perm",
      "title": "Permutation object",
      "topics": [
        "gips_perm",
        "new_gips_perm",
        "validate_gips_perm"
      ]
    },
    {
      "page": "log_posteriori_of_gips",
      "title": "A log of a posteriori that the covariance matrix is invariant under permutation",
      "topics": [
        "log_posteriori_of_gips"
      ]
    },
    {
      "page": "logLik.gips",
      "title": "Extract the Log-Likelihood for 'gips' class",
      "topics": [
        "logLik.gips"
      ]
    },
    {
      "page": "plot.gips",
      "title": "Plot optimized matrix or optimization 'gips' object",
      "topics": [
        "plot.gips"
      ]
    },
    {
      "page": "prepare_orthogonal_matrix",
      "title": "Prepare orthogonal matrix",
      "topics": [
        "prepare_orthogonal_matrix"
      ]
    },
    {
      "page": "print.gips",
      "title": "Printing 'gips' object",
      "topics": [
        "print.gips"
      ]
    },
    {
      "page": "print.gips_perm",
      "title": "Printing 'gips_perm' object",
      "topics": [
        "print.gips_perm"
      ]
    },
    {
      "page": "project_matrix",
      "title": "Project matrix after optimization",
      "topics": [
        "project_matrix"
      ]
    },
    {
      "page": "summary.gips",
      "title": "Summarizing the gips object",
      "topics": [
        "print.summary.gips",
        "summary.gips"
      ]
    }
  ],
  "_pkglogo": "https://github.com/przechoj/gips/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/przechoj/gips/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "digest",
    "disordR",
    "freealg",
    "gmp",
    "lattice",
    "magic",
    "Matrix",
    "numbers",
    "partitions",
    "permutations",
    "polynom",
    "rbibutils",
    "Rcpp",
    "Rdpack",
    "rlang",
    "sets"
  ],
  "_vignettes": [
    {
      "source": "gips.Rmd",
      "filename": "gips.html",
      "title": "A Gentle Introduction to Modeling with gips",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "Invariance by permutation",
        "Package gips",
        "Practical example",
        "Theoretic example",
        "Further reading"
      ],
      "created": "2022-09-14 16:36:33",
      "modified": "2025-03-17 20:28:16",
      "commits": 37
    },
    {
      "source": "Optimizers.Rmd",
      "filename": "Optimizers.html",
      "title": "Available Optimizers: How to Find Maximum A Posteriori?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are we optimizing?",
        "Available optimizers",
        "Note on computation time",
        "Brute Force",
        "Example",
        "Metropolis-Hastings",
        "Short description",
        "Notes",
        "Hill climbing",
        "Pseudocode",
        "Continuing the optimization",
        "sigma_matrix is the real covariance matrix, that we want to estimate",
        "Additional parameters",
        "Discussion",
        "References"
      ],
      "created": "2022-09-06 21:41:19",
      "modified": "2025-03-17 20:28:16",
      "commits": 37
    },
    {
      "source": "Theory.Rmd",
      "filename": "Theory.html",
      "title": "The Theory Behind gips",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What the gips is based on",
        "Alternative reference",
        "Basic definitions",
        "Block Decomposition - [1], Theorem 1",
        "Examples",
        "Project Matrix - [1, Eq. (6)]",
        "Trivial case",
        "Notation",
        "Example",
        "$C_\\sigma$ and n0",
        "Bayesian model selection",
        "General workflow",
        "Details on the prior distribution",
        "gips technical details",
        "Interpretation",
        "Finding the MAP Estimator",
        "Generate example data from a model:",
        "End of prepare model",
        "Information Criterion - AIC and BIC",
        "Estimated mean",
        "References"
      ],
      "created": "2022-09-13 17:12:10",
      "modified": "2025-03-17 20:28:16",
      "commits": 51
    }
  ],
  "_score": 6.515940042093319,
  "_indexed": true,
  "_nocasepkg": "gips",
  "_universes": [
    "przechoj"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:05:49.000Z",
      "distro": "noble",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "1346f12d47a4ebfd9299e10d544276968b4ce4f4624bff953a5d5de14b2b67f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:05:54.000Z",
      "distro": "noble",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "809e1227bba061662a028a945432046c597b4a7ea78c84458d7003a65a88ccc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:04:47.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "0904d4d33bccce488622e1f327fe932586c62baddcdee7b99bd9f783d83e224c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:05:03.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "70a1183d153a2092f654153cfd79651b0478644426a35ef60c6a4635f1171d10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:05:54.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "0fce6b75079ffe8561460032bafcb3d7f18f7679255ca2940ccd8fb8dacf6f31",
      "status": "success",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:04:59.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "6348e31e1401e28c3c160a91e823d8a58a7de516b22ba284ad8eba8aca698303",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:04:47.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "b0620910539e8a169ba9fa87d42c09507548a1232fd7f526ce4f01a687e9fb7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.3.9000",
      "date": "2026-05-23T12:04:41.000Z",
      "commit": "f8e955c9185d3b6956b3d94a08ffd5e0196311ec",
      "fileid": "c45acd9a5616cbbb1c0ad5d1a9d7b11fd5006a820bfc3a9380f9f7f7ad4f95d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/przechoj/actions/runs/26332068368"
    }
  ]
}