{
  "_id": "6aad033d3d719c1f84074b51",
  "Package": "Proximum",
  "Title": "Statistical Analysis of Ensemble Proximity Matrices",
  "Version": "1.1.0",
  "Authors@R": "person(given = \"Agostino\",\nfamily = \"Gnasso\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"agostino.gnasso@unina.it\",\ncomment = c(ORCID = \"0000-0002-8046-3923\"))",
  "Description": "Treats the proximity matrices produced by tree ensembles\nas first-class statistical objects rather than as model\nby-products. Provides a unified extractor across ensemble\nengines, in-bag and out-of-bag definitions, transformations to\ndissimilarities with metric diagnostics, corrections that make\nan indefinite proximity usable as a kernel, and permutation\ninference for comparing two proximity matrices or partitioning\none across the terms of a design. Also provides a Nystrom\napproximation, a thresholded sparse representation and a\nstreaming form that never allocates the matrix at all, for\nsamples too large to hold it, measures how far the proximity\nmoves between replicates of the ensemble, and draws each object\nthrough 'ggplot2': the seriated matrix, the configuration it\nimplies, and the thresholded graph with its communities.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/agostinognasso/Proximum",
  "BugReports": "https://github.com/agostinognasso/Proximum/issues",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://agostinognasso.r-universe.dev",
  "Date/Publication": "2026-09-09 09:26:52 UTC",
  "RemoteUrl": "https://github.com/agostinognasso/proximum",
  "RemoteRef": "HEAD",
  "RemoteSha": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-18 08:58:49 UTC",
    "User": "root"
  },
  "Author": "Agostino Gnasso [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-8046-3923>)",
  "Maintainer": "Agostino Gnasso <agostino.gnasso@unina.it>",
  "_user": "agostinognasso",
  "_type": "src",
  "_file": "Proximum_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/fc183c0fa1e69ea2b33a74ba00bfa02a402561edf4d122e7fbf672b8e33ff2ca",
  "_filesize": 1727666,
  "_sha256": "fc183c0fa1e69ea2b33a74ba00bfa02a402561edf4d122e7fbf672b8e33ff2ca",
  "_expires": "2026-12-27T09:24:11.000Z",
  "_created": "2026-09-18T08:58:49.000Z",
  "_published": "2026-09-18T09:24:13.844Z",
  "_jobs": [
    {
      "job": 105542777527,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10539452065"
    },
    {
      "job": 105542777784,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10539566066"
    },
    {
      "job": 105542777441,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10540600656"
    },
    {
      "job": 105542777376,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10540164364"
    },
    {
      "job": 105541644172,
      "time": 251,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10539262287"
    },
    {
      "job": 105542777463,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10539496859"
    },
    {
      "job": 105542777541,
      "time": 144,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10539666710"
    },
    {
      "job": 105542777608,
      "time": 133,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10539232744"
    },
    {
      "job": 105542777424,
      "time": 128,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10539926086"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721",
  "_status": "success",
  "_upstream": "https://github.com/agostinognasso/proximum",
  "_commit": {
    "id": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
    "author": "Agostino Gnasso <agostino.gnasso@unina.it>",
    "committer": "Agostino Gnasso <agostino.gnasso@unina.it>",
    "message": "Record the win-builder result, and quote the words the check actually flagged\n",
    "time": 1788946012
  },
  "_maintainer": {
    "name": "Agostino Gnasso",
    "email": "agostino.gnasso@unina.it",
    "login": "agostinognasso",
    "description": "Postdoc in Statistics @UniFedericoII. Focusing on statistics, explainable machine learning (XAI), and tree-based ensemble methods.",
    "uuid": 115216742,
    "orcid": "0000-0002-8046-3923"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "e2tree",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "seriation",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "vegan",
      "role": "Suggests"
    }
  ],
  "_owner": "agostinognasso",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-36",
      "n": 6
    },
    {
      "week": "2026-37",
      "n": 12
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-09-08"
    },
    {
      "name": "v1.1.0",
      "date": "2026-09-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "agostinognasso",
      "count": 22,
      "uuid": 115216742
    }
  ],
  "_userbio": {
    "uuid": 115216742,
    "type": "user",
    "name": "Agostino Gnasso",
    "followers": 1,
    "description": "Postdoc in Statistics @UniFedericoII. Focusing on statistics, explainable machine learning (XAI), and tree-based ensemble methods."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Proximum"
  },
  "_devurl": "https://github.com/agostinognasso/proximum",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/Proximum.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/agostinognasso/proximum",
  "_realowner": "agostinognasso",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2026-09-17"
    }
  ],
  "_exports": [
    "as_dissimilarity",
    "as_proximity",
    "autoplot",
    "cka",
    "double_centre",
    "embedding",
    "is_euclidean",
    "make_psd",
    "mantel_test",
    "n_trees_required",
    "nystrom",
    "permanova",
    "protest",
    "proximity_stream",
    "rv_coefficient",
    "sparsify",
    "stability"
  ],
  "_datasets": [
    {
      "name": "loans",
      "title": "A synthetic consumer loan portfolio",
      "object": "loans",
      "class": [
        "data.frame"
      ],
      "fields": [
        "default",
        "amount",
        "income",
        "dti",
        "term",
        "employment",
        "score",
        "utilisation",
        "delinquencies",
        "home",
        "purpose",
        "vintage",
        "applicant_group"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_dissimilarity",
      "title": "Transform a proximity into a dissimilarity",
      "topics": [
        "as_dissimilarity"
      ]
    },
    {
      "page": "as_proximity",
      "title": "Proximity matrix of a tree ensemble",
      "topics": [
        "as.matrix.proximity",
        "as_proximity",
        "as_proximity.e2tree",
        "as_proximity.randomForest",
        "as_proximity.ranger",
        "print.proximity"
      ]
    },
    {
      "page": "as.dist.proximity",
      "title": "Dissimilarity induced by a proximity matrix",
      "topics": [
        "as.dist.proximity"
      ]
    },
    {
      "page": "as.matrix.proximity_nystrom",
      "title": "Reconstruct a Nystrom approximation as a dense matrix",
      "topics": [
        "as.matrix.proximity_nystrom"
      ]
    },
    {
      "page": "as.matrix.proximity_sparse",
      "title": "Densify a sparse proximity matrix",
      "topics": [
        "as.matrix.proximity_sparse"
      ]
    },
    {
      "page": "autoplot.proximity",
      "title": "Visualise a proximity object",
      "topics": [
        "autoplot.proximity",
        "autoplot.proximity_nystrom",
        "autoplot.proximity_sparse",
        "autoplot.proximity_stability",
        "autoplot.proximity_trees"
      ]
    },
    {
      "page": "cka",
      "title": "Centered kernel alignment between two proximity matrices",
      "topics": [
        "cka",
        "rv_coefficient"
      ]
    },
    {
      "page": "double_centre",
      "title": "Double centring of a squared dissimilarity matrix",
      "topics": [
        "double_centre"
      ]
    },
    {
      "page": "embedding",
      "title": "The configuration a proximity matrix implies",
      "topics": [
        "embedding",
        "embedding.default",
        "embedding.proximity_nystrom"
      ]
    },
    {
      "page": "is_euclidean",
      "title": "Is a dissimilarity matrix Euclidean?",
      "topics": [
        "is_euclidean"
      ]
    },
    {
      "page": "loans",
      "title": "A synthetic consumer loan portfolio",
      "topics": [
        "loans"
      ]
    },
    {
      "page": "make_psd",
      "title": "Repair an indefinite proximity matrix",
      "topics": [
        "make_psd"
      ]
    },
    {
      "page": "mantel_test",
      "title": "Mantel test between two proximity matrices",
      "topics": [
        "mantel_test"
      ]
    },
    {
      "page": "n_trees_required",
      "title": "How many trees does a stable proximity matrix need?",
      "topics": [
        "n_trees_required",
        "print.proximity_trees"
      ]
    },
    {
      "page": "nystrom",
      "title": "Nystrom approximation of a proximity matrix",
      "topics": [
        "nystrom",
        "print.proximity_nystrom"
      ]
    },
    {
      "page": "permanova",
      "title": "PERMANOVA on the dissimilarity induced by a proximity matrix",
      "topics": [
        "permanova"
      ]
    },
    {
      "page": "protest",
      "title": "Procrustes comparison of two proximity matrices",
      "topics": [
        "protest"
      ]
    },
    {
      "page": "proximity_stream",
      "title": "A proximity that is never allocated",
      "topics": [
        "as.matrix.proximity_stream",
        "print.proximity_stream",
        "proximity_stream"
      ]
    },
    {
      "page": "sparsify",
      "title": "Sparse representation of a proximity matrix",
      "topics": [
        "print.proximity_sparse",
        "sparsify"
      ]
    },
    {
      "page": "stability",
      "title": "Agreement between replicate proximity matrices",
      "topics": [
        "print.proximity_stability",
        "stability"
      ]
    },
    {
      "page": "summary.proximity",
      "title": "Diagnostics for a proximity matrix",
      "topics": [
        "print.summary.proximity",
        "summary.proximity"
      ]
    },
    {
      "page": "summary.proximity_nystrom",
      "title": "Diagnostics for a Nystrom approximation",
      "topics": [
        "print.summary.proximity_nystrom",
        "summary.proximity_nystrom"
      ]
    },
    {
      "page": "summary.proximity_sparse",
      "title": "Diagnostics for a sparse proximity matrix",
      "topics": [
        "print.summary.proximity_sparse",
        "summary.proximity_sparse"
      ]
    }
  ],
  "_readme": "https://github.com/agostinognasso/proximum/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "credit-scoring-case.Rmd",
      "filename": "credit-scoring-case.html",
      "title": "A credit scoring case study",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Are there segments, and are they risk segments?",
        "2. Does the structure survive a shift in the window?",
        "3. What is the protected attribute worth to the model that never saw it?",
        "What this does not show"
      ],
      "created": "2026-07-09 21:44:18",
      "modified": "2026-09-08 10:34:13",
      "commits": 4
    },
    {
      "source": "comparing-forests.Rmd",
      "filename": "comparing-forests.html",
      "title": "Comparing forests through their proximities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two forests to compare",
        "Correlation between two proximity matrices",
        "Alignment of representations",
        "Out-of-bag matrices have to be repaired first",
        "Superimposing the two configurations",
        "Partitioning one matrix",
        "The order of the terms is part of the question",
        "Undefined pairs are refused rather than dropped",
        "Still to come"
      ],
      "created": "2026-07-09 21:44:18",
      "modified": "2026-09-08 10:34:13",
      "commits": 5
    },
    {
      "source": "Proximum-intro.Rmd",
      "filename": "Proximum-intro.html",
      "title": "Proximity matrices as statistical objects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extracting a proximity matrix",
        "Diagnostics",
        "In-bag against out-of-bag",
        "The out-of-bag proximity is not a kernel",
        "Other engines",
        "The views",
        "What comes next"
      ],
      "created": "2026-07-10 11:18:46",
      "modified": "2026-09-08 10:34:13",
      "commits": 4
    },
    {
      "source": "large-n.Rmd",
      "filename": "large-n.html",
      "title": "Proximity matrices when n is large",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sparsity: keep every value above a threshold",
        "Landmarks: the Nystrom approximation",
        "What the approximation is for",
        "How many trees, and how much does the answer move?",
        "Choosing between them",
        "Streaming: never allocate it at all",
        "The shape this feature was promised in was wrong",
        "What it costs, which is not nothing",
        "Two things it refuses"
      ],
      "created": "2026-07-09 21:44:18",
      "modified": "2026-09-08 15:29:36",
      "commits": 6
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "proximum",
  "_universes": [
    "agostinognasso"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-18T09:01:17.000Z",
      "distro": "resolute",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/b8cfdbf4cd4fa801b9a09e7c0f9e2a08e564ac140d0d6e05e5db164a621a10ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-18T09:01:13.000Z",
      "distro": "resolute",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/2d3cf1e13d7403010378427f70c02379b3b40d2ce5f48c9c488784ed272d2469",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-18T09:22:39.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/bd42d38855f58f86e852ec112041b905a8594a375df5f55a6688135e5529f86f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-18T09:22:10.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/dcd16a86f2839cf70f34d89c25b3f4552cc903fe80ae47af2d47f915b3b5c664",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-09-18T09:01:14.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/0de49eda6976280339770ead161fe1f07f77969ea81c449f9e7c45c796e4d354",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-18T09:00:30.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/cc0773f6c6b0a0e845f755c0ac7ad01d35f87e17e8b6aea53fc48853f6f66c54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-18T09:00:40.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/45b13f2286a95e031e52c2fa5dc924e9b39482c7be235c771343d179b4a8e605",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-18T09:00:20.000Z",
      "commit": "3fff465cb4f9b0dedc7e717ddecc633f6bed066a",
      "fileid": "https://r2.ropensci.org/bdbb6fd92f20e5bf61138508eb3046af2431e515c66908bdd26be112b8867b3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/35326782721"
    }
  ]
}