{
  "_id": "6afc6eeb8c54a69a6a55f3c7",
  "Package": "PEAXAI",
  "Title": "Probabilistic Efficiency Analysis Using Explainable Artificial\nIntelligence",
  "Version": "1.0.3",
  "Authors@R": "c(\nperson(given = \"Ricardo\",\nfamily = \"González Moyano\",\nrole = c(\"cre\", \"aut\"),\nemail = \"ricardo.gonzalezm@umh.es\",\ncomment = c(ORCID = \"0009-0002-8608-5545\")),\nperson(given = \"Juan\",\nfamily = \"Aparicio\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-0867-0004\")),\nperson(given = \"José Luis\",\nfamily = \"Zofío\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-1170-9501\")),\nperson(given = \"Víctor\",\nfamily = \"España\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-1807-6180\"))\n)",
  "Description": "Provides a probabilistic framework that integrates Data\nEnvelopment Analysis (DEA) (Banker et al., 1984)\n<doi:10.1287/mnsc.30.9.1078> with machine learning classifiers\n(Kuhn, 2008) <doi:10.18637/jss.v028.i05> to estimate both the\n(in)efficiency status and the probability of efficiency for\ndecision-making units. The approach trains predictive models on\nDEA-derived efficiency labels (Charnes et al., 1985)\n<doi:10.1016/0304-4076(85)90133-2>, enabling explainable\nartificial intelligence (XAI) workflows with global and local\ninterpretability tools, including permutation importance\n(Molnar et al., 2018) <doi:10.21105/joss.00786>, Shapley value\nexplanations (Strumbelj & Kononenko, 2014)\n<doi:10.1007/s10115-013-0679-x>, and sensitivity analysis\n(Cortez, 2011) <https://CRAN.R-project.org/package=rminer>. The\nframework also supports probability-threshold peer selection\nand counterfactual improvement recommendations for benchmarking\nand policy evaluation. The probabilistic efficiency framework\nis detailed in González-Moyano et al. (2025) \"Probability-based\nTechnical Efficiency Analysis through Machine Learning\", in\nreview for publication.",
  "License": "GPL-3",
  "URL": "https://github.com/rgonzalezmoyano/PEAXAI",
  "BugReports": "https://github.com/rgonzalezmoyano/PEAXAI/issues",
  "Encoding": "UTF-8",
  "Language": "en",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "LazyData": "false",
  "ByteCompile": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglpk-dev libglu1-mesa-dev\nmake texlive libicu-dev libpng-dev libuv1-dev libxml2-dev\nlibgl1-mesa-dev libssl-dev zlib1g-dev",
  "Repository": "https://rgonzalezmoyano.r-universe.dev",
  "Date/Publication": "2026-09-14 18:01:18 UTC",
  "RemoteUrl": "https://github.com/rgonzalezmoyano/peaxai",
  "RemoteRef": "HEAD",
  "RemoteSha": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-17 14:59:11 UTC",
    "User": "root"
  },
  "Author": "Ricardo González Moyano [cre, aut] (ORCID:\n<https://orcid.org/0009-0002-8608-5545>),\nJuan Aparicio [aut] (ORCID: <https://orcid.org/0000-0002-0867-0004>),\nJosé Luis Zofío [aut] (ORCID: <https://orcid.org/0000-0003-1170-9501>),\nVíctor España [aut] (ORCID: <https://orcid.org/0000-0002-1807-6180>)",
  "Maintainer": "Ricardo González Moyano <ricardo.gonzalezm@umh.es>",
  "_user": "rgonzalezmoyano",
  "_type": "src",
  "_file": "PEAXAI_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/2e8427156e77e98ec68955d08050e0aa38855d332dcf7d99132b6f979db24736",
  "_filesize": 1456585,
  "_sha256": "2e8427156e77e98ec68955d08050e0aa38855d332dcf7d99132b6f979db24736",
  "_expires": "2027-02-25T15:12:40.000Z",
  "_created": "2026-11-17T14:59:11.000Z",
  "_published": "2026-11-20T03:03:25.544Z",
  "_upstream": "https://github.com/rgonzalezmoyano/peaxai",
  "_status": "success",
  "_maintainer": {
    "name": "Ricardo González Moyano",
    "email": "ricardo.gonzalezm@umh.es",
    "login": "rgonzalezmoyano",
    "description": "",
    "uuid": 125368117,
    "orcid": "0009-0002-8608-5545"
  },
  "_jobs": [
    {
      "job": 134129997072,
      "time": 243,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14340556023"
    },
    {
      "job": 134129997191,
      "time": 262,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14339643091"
    },
    {
      "job": 134129997433,
      "time": 312,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14340966873"
    },
    {
      "job": 134129997108,
      "time": 364,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14339903374"
    },
    {
      "job": 134125781353,
      "time": 383,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14339243716"
    },
    {
      "job": 134129997397,
      "time": 209,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14339059973"
    },
    {
      "job": 134129997136,
      "time": 187,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14339518314"
    },
    {
      "job": 134129997264,
      "time": 196,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14339877119"
    },
    {
      "job": 134129999512,
      "time": 141,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14339777180"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001",
  "_commit": {
    "id": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
    "author": "rgonzalezmoyano <125368117+rgonzalezmoyano@users.noreply.github.com>",
    "committer": "rgonzalezmoyano <125368117+rgonzalezmoyano@users.noreply.github.com>",
    "message": "logo\n",
    "time": 1789408878
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "Benchmarking",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "deaR",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "kernelshap",
      "role": "Imports"
    },
    {
      "package": "iml",
      "role": "Imports"
    },
    {
      "package": "lime",
      "role": "Imports"
    },
    {
      "package": "np",
      "role": "Imports"
    },
    {
      "package": "PRROC",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "rminer",
      "role": "Imports"
    },
    {
      "package": "rms",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "peakRAM",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "rgonzalezmoyano",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 4
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 9
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-33",
      "n": 5
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "rgonzalezmoyano",
      "count": 80,
      "uuid": 125368117
    }
  ],
  "_userbio": {
    "uuid": 125368117,
    "type": "user",
    "name": "Ricardo González-Moyano",
    "followers": 0
  },
  "_downloads": {
    "count": 377,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PEAXAI"
  },
  "_devurl": "https://github.com/rgonzalezmoyano/peaxai",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/PEAXAI.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/rgonzalezmoyano/peaxai",
  "_realowner": "rgonzalezmoyano",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-12-02"
    },
    {
      "version": "1.0.0",
      "date": "2026-01-07"
    },
    {
      "version": "1.0.1",
      "date": "2026-05-19"
    },
    {
      "version": "1.0.2",
      "date": "2026-06-01"
    },
    {
      "version": "1.0.3",
      "date": "2026-08-23"
    }
  ],
  "_exports": [
    "PEAXAI_counterfactuals",
    "PEAXAI_fitting",
    "PEAXAI_global_importance",
    "PEAXAI_local_importance",
    "PEAXAI_peer",
    "PEAXAI_predict",
    "PEAXAI_ranking",
    "reffcy"
  ],
  "_datasets": [
    {
      "name": "data",
      "title": "Simulated efficiency dataset (100 DMUs)",
      "object": "data",
      "file": "data.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "y",
        "yD"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_example",
      "title": "Simulated efficiency dataset (100 DMUs)",
      "object": "data_example",
      "file": "data_example.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "y",
        "yD"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "data_SABI",
      "title": "Spanish Food Industry Firms Dataset",
      "object": "data_SABI",
      "file": "data_SABI.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "firm_id",
        "personnel_expenses",
        "fixed_assets",
        "operating_income"
      ],
      "rows": 1282,
      "table": true,
      "tojson": true
    },
    {
      "name": "firms",
      "title": "Spanish Food Industry Firms Dataset",
      "object": "firms",
      "file": "firms.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "total_assets",
        "employees",
        "fixed_assets",
        "personnel_expenses",
        "operating_income",
        "autonomous_community"
      ],
      "rows": 917,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "convex_facets",
      "title": "Identify Maximal Facets of the Convex Frontier",
      "topics": [
        "convex_facets"
      ]
    },
    {
      "page": "data",
      "title": "Simulated efficiency dataset (100 DMUs)",
      "topics": [
        "data"
      ]
    },
    {
      "page": "data_example",
      "title": "Simulated efficiency dataset (100 DMUs)",
      "topics": [
        "data_example"
      ]
    },
    {
      "page": "data_SABI",
      "title": "Spanish Food Industry Firms Dataset",
      "topics": [
        "data_SABI"
      ]
    },
    {
      "page": "firms",
      "title": "Spanish Food Industry Firms Dataset",
      "topics": [
        "firms"
      ]
    },
    {
      "page": "get_SMOTE_DMUs",
      "title": "Create New SMOTE Units to Balance Data combinations of m + s",
      "topics": [
        "get_SMOTE_DMUs"
      ]
    },
    {
      "page": "PEAXAI_counterfactuals",
      "title": "Projection-Based Efficiency counterfactuals",
      "topics": [
        "PEAXAI_counterfactuals"
      ]
    },
    {
      "page": "PEAXAI_fitting",
      "title": "Training Classification Models to Estimate Efficiency",
      "topics": [
        "PEAXAI_fitting"
      ]
    },
    {
      "page": "PEAXAI_global_importance",
      "title": "Global feature importance for efficiency classifiers",
      "topics": [
        "PEAXAI_global_importance"
      ]
    },
    {
      "page": "PEAXAI_local_importance",
      "title": "Local feature importance for efficiency classifiers",
      "topics": [
        "PEAXAI_local_importance"
      ]
    },
    {
      "page": "PEAXAI_peer",
      "title": "Identify Benchmark Peers Based on Estimated Efficiency Probabilities",
      "topics": [
        "PEAXAI_peer"
      ]
    },
    {
      "page": "PEAXAI_predict",
      "title": "Predict Probability of Efficiency Using a Fitted Model",
      "topics": [
        "PEAXAI_predict"
      ]
    },
    {
      "page": "PEAXAI_ranking",
      "title": "Generate Efficiency Rankings Based on Probabilistic Classification",
      "topics": [
        "PEAXAI_ranking"
      ]
    },
    {
      "page": "preprocessing",
      "title": "Prepare Data and Handle Errors",
      "topics": [
        "preprocessing"
      ]
    },
    {
      "page": "reffcy",
      "title": "Random Sample for Efficiency Analysis",
      "topics": [
        "reffcy"
      ]
    },
    {
      "page": "train_PEAXAI",
      "title": "Training a Classification Machine Learning Model",
      "topics": [
        "train_PEAXAI"
      ]
    },
    {
      "page": "xai_prepare_sets",
      "title": "Prepare Training and Target Datasets from a caret Model",
      "topics": [
        "xai_prepare_sets"
      ]
    }
  ],
  "_readme": "https://github.com/rgonzalezmoyano/peaxai/raw/HEAD/README.md",
  "_rundeps": [
    "adabag",
    "alabama",
    "askpass",
    "assertthat",
    "backports",
    "base64enc",
    "Benchmarking",
    "boot",
    "bslib",
    "cachem",
    "caret",
    "cccp",
    "checkmate",
    "class",
    "cli",
    "clock",
    "cluster",
    "codetools",
    "coin",
    "colorspace",
    "ConsRank",
    "cpp11",
    "crosstalk",
    "crs",
    "Cubist",
    "curl",
    "data.table",
    "deaR",
    "diagram",
    "digest",
    "doFuture",
    "doParallel",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fitdistrplus",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "glmnet",
    "globals",
    "glue",
    "gower",
    "gridExtra",
    "gtable",
    "gtools",
    "hardhat",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "igraph",
    "iml",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "kernelshap",
    "kernlab",
    "KernSmooth",
    "kknn",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lava",
    "lazyeval",
    "libcoin",
    "lifecycle",
    "lime",
    "listenv",
    "lpSolve",
    "lpSolveAPI",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "mda",
    "memoise",
    "Metrics",
    "mime",
    "minpack.lm",
    "modeltools",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "np",
    "numDeriv",
    "openssl",
    "optiSolve",
    "otel",
    "parallelly",
    "party",
    "peakRAM",
    "pillar",
    "pkgconfig",
    "plotly",
    "plotrix",
    "pls",
    "plyr",
    "polspline",
    "pROC",
    "prodlim",
    "progressr",
    "promises",
    "proxy",
    "PRROC",
    "purrr",
    "quadprog",
    "quantreg",
    "R6",
    "randomForest",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "recipes",
    "reshape2",
    "rgl",
    "rlang",
    "rlist",
    "rmarkdown",
    "rminer",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "scatterplot3d",
    "shape",
    "shapes",
    "SparseM",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "strucchange",
    "survival",
    "sys",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytable",
    "tinytex",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "writexl",
    "xfun",
    "xgboost",
    "XML",
    "yaml",
    "yardstick",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "PEAXAI.Rmd",
      "filename": "PEAXAI.html",
      "title": "PEAXAI: Probabilistic Efficiency Analysis using Explainable Artificial Intelligence",
      "author": "Institute 'Center of Operations Research', Miguel Hernández University of Elche",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example Dataset: Spanish Food Industry Firms",
        "Load the package and example dataset",
        "Specify parameters for PEAXAI model fitting",
        "Apply PEAXAI: from efficiency labeling to ML-based classification",
        "XAI method for global importance",
        "Apply XAI method on the model fine-tuned.",
        "Selected efficiency thresholds",
        "Directional vector for target setting",
        "Compute targets at selected thresholds",
        "Efficiency rankings",
        "Peers by efficiency thresholds"
      ],
      "created": "2025-11-03 10:25:29",
      "modified": "2026-08-23 09:37:41",
      "commits": 7
    }
  ],
  "_score": 4.977723605288848,
  "_indexed": true,
  "_nocasepkg": "peaxai",
  "_universes": [
    "rgonzalezmoyano"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-17T15:02:25.000Z",
      "distro": "resolute",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/eb0e00944e5168972a4db82362150b82d8697db619a61b6366bb890cebb985cc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-17T15:02:33.000Z",
      "distro": "resolute",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/85ae83c8465a0d883d909e206ef89d93133be30791d0caaea05d6014f736c804",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-17T15:09:40.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/22af9730e54fe7e195c78f0b16480e0bb0978d67b1881ff7e49bd2e05ff4b688",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-17T15:06:03.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/d0355e9f6f5908e2ecc914151dc65539d076ad0ce68f51c06a8cbf88ba91361c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-11-17T15:03:08.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/8fd4f7c237432f8ce9a8f3b960a1fdeaf812d5658e12ba926862519c9ff81857",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-17T15:01:04.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/58364f0d1a168f41ee8fb20c21d60adb0ce5dfc007f2cbe48c5a247627f6f7d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-17T15:00:59.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/29e2b7d1aec35717a19d7238a4c7d74a5498c60ae9218ed75f7b0f0454cbdf68",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-17T15:00:38.000Z",
      "commit": "b271c0a07c32866ad077c37cb8ab9847eb758bed",
      "fileid": "https://r2.ropensci.org/c38e62192689cd7a335027ddc33ac85a0034c6570d2af5fd07a16af2061523b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rgonzalezmoyano/actions/runs/44108006001"
    }
  ]
}