{
  "_id": "6b03c54ab6d08ed7e3d85760",
  "Package": "CaseBasedReasoning",
  "Type": "Package",
  "Title": "Case Based Reasoning",
  "Version": "0.5.0",
  "Date": "2026-11-22",
  "Authors@R": "c(person(given = \"Simon\",\nfamily = \"Mueller\",\nrole = c(\"aut\", \"cre\"),\nemail = \"simon.mueller@muon-stat.com\"),\nperson(given = \"PD Dr. Juergen\",\nfamily = \"Dippon\",\nrole = c(\"ctb\"),\nemail = \"juergen.dippon@mathematik.uni-stuttgart.de\"))",
  "Description": "Case-based reasoning is a problem-solving methodology that\ninvolves solving a new problem by referring to the solution of\na similar problem in a large set of previously solved problems.\nThe key aspect of Case Based Reasoning is to determine the\nproblem that \"most closely\" matches the new problem at hand.\nThis is achieved by defining a family of distance functions and\nusing these distance functions as parameters for local\naveraging regression estimates of the final result. The optimal\ndistance function is chosen based on a specific error measure\nused in regression estimation. This approach allows for\nefficient problem-solving by leveraging past experiences and\nadapting solutions from similar cases. The underlying concept\nis inspired by the work of Dippon J. et al. (2002)\n<doi:10.1016/S0167-9473(02)00058-0>.",
  "URL": "https://github.com/sipemu/case-based-reasoning,\nhttps://sipemu.github.io/case-based-reasoning/",
  "BugReports": "https://github.com/sipemu/case-based-reasoning/issues",
  "License": "MIT + file LICENSE",
  "SystemRequirements": "GNU make",
  "NeedsCompilation": "yes",
  "ByteCompile": "yes",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Packaged": {
    "Date": "2026-11-23 04:40:49 UTC",
    "User": "root"
  },
  "Author": "Simon Mueller [aut, cre], PD Dr. Juergen Dippon [ctb]",
  "Maintainer": "Simon Mueller <simon.mueller@muon-stat.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-22 22:50:08 UTC",
  "RemoteUrl": "https://github.com/cran/CaseBasedReasoning",
  "RemoteRef": "HEAD",
  "RemoteSha": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
  "_user": "cran",
  "_type": "src",
  "_file": "CaseBasedReasoning_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/239209e35fd85b7281f2e12c37d4c58659b79e60cd0d860d232f97fba91e3e64",
  "_filesize": 616216,
  "_sha256": "239209e35fd85b7281f2e12c37d4c58659b79e60cd0d860d232f97fba91e3e64",
  "_expires": "2027-03-03T04:47:04.000Z",
  "_created": "2026-11-23T04:40:49.000Z",
  "_published": "2026-11-23T04:47:06.192Z",
  "_upstream": "https://github.com/cran/CaseBasedReasoning",
  "_status": "success",
  "_maintainer": {
    "name": "Simon Mueller",
    "email": "simon.mueller@muon-stat.com",
    "login": "sipemu",
    "description": "Statistician | Probabilistic Forecasting | Bayesian and Frequentist Statistics ",
    "uuid": 1296999
  },
  "_jobs": [
    {
      "job": 137490572575,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14790234967"
    },
    {
      "job": 137490572556,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14790846148"
    },
    {
      "job": 137490572638,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14790895493"
    },
    {
      "job": 137490572608,
      "time": 192,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14790607481"
    },
    {
      "job": 137489113456,
      "time": 279,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14789754248"
    },
    {
      "job": 137490572526,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14790308797"
    },
    {
      "job": 137490572650,
      "time": 306,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14790771135"
    },
    {
      "job": 137490572623,
      "time": 265,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14791100406"
    },
    {
      "job": 137490572651,
      "time": 289,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14790209554"
    },
    {
      "job": 137490572724,
      "time": 213,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14790755959"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166",
  "_commit": {
    "id": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
    "author": "Simon Mueller <simon.mueller@muon-stat.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1795387808
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "rms",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RcppArmadillo",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4",
      "date": "2026-02-26"
    },
    {
      "name": "0.4.1",
      "date": "2026-02-27"
    },
    {
      "name": "0.5.0",
      "date": "2026-11-22"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "sipemu",
      "count": 5,
      "uuid": 1296999
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 539,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CaseBasedReasoning"
  },
  "_devurl": "https://github.com/sipemu/case-based-reasoning",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/CaseBasedReasoning.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sipemu/case-based-reasoning",
  "_realowner": "sipemu",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2018-06-12"
    },
    {
      "version": "0.3",
      "date": "2023-05-02"
    },
    {
      "version": "0.4",
      "date": "2026-02-26"
    },
    {
      "version": "0.4.1",
      "date": "2026-02-27"
    },
    {
      "version": "0.5.0",
      "date": "2026-11-22"
    }
  ],
  "_authors": [
    {
      "name": "Simon Mueller",
      "email": "simon.mueller@muon-stat.com",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "PD Dr. Juergen Dippon",
      "email": "juergen.dippon@mathematik.uni-stuttgart.de",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "as_dist_object",
    "asDistObject",
    "CoxModel",
    "depth_distance",
    "distance_random_forest",
    "distanceRandomForest",
    "edges_between_terminal_nodes",
    "generate_grid",
    "LinearModel",
    "LogisticModel",
    "proximity_distance",
    "ranger_forests_to_matrix",
    "RFModel",
    "terminal_nodes",
    "terminalNodes",
    "weighted_distance",
    "weightedDistance"
  ],
  "_help": [
    {
      "page": "as_dist_object",
      "title": "Converts a distance vector into an object of class 'dist'",
      "topics": [
        "asDistObject",
        "as_dist_object"
      ]
    },
    {
      "page": "CBRBase",
      "title": "Root class for common functionality of this package",
      "topics": [
        "CBRBase"
      ]
    },
    {
      "page": "CoxModel",
      "title": "Cox-Beta Model for Case-Based-Reasoning",
      "topics": [
        "CoxModel"
      ]
    },
    {
      "page": "depth_distance",
      "title": "Depth Distance",
      "topics": [
        "depth_distance"
      ]
    },
    {
      "page": "distance_random_forest",
      "title": "Distance calculation based on RandomForest Proximity or Depth",
      "topics": [
        "distanceRandomForest",
        "distance_random_forest"
      ]
    },
    {
      "page": "edges_between_terminal_nodes",
      "title": "Number of Edges between Terminal Nodes",
      "topics": [
        "edges_between_terminal_nodes"
      ]
    },
    {
      "page": "generate_grid",
      "title": "Generate Grid",
      "topics": [
        "generate_grid"
      ]
    },
    {
      "page": "LinearModel",
      "title": "Linear Regression Model for Case-Based-Reasoning",
      "topics": [
        "LinearModel"
      ]
    },
    {
      "page": "LogisticModel",
      "title": "Logistic Regression Model for Case-Based-Reasoning",
      "topics": [
        "LogisticModel"
      ]
    },
    {
      "page": "predict.CoxModel",
      "title": "Predict method for CoxModel",
      "topics": [
        "predict.CoxModel"
      ]
    },
    {
      "page": "predict.LinearModel",
      "title": "Predict method for LinearModel",
      "topics": [
        "predict.LinearModel"
      ]
    },
    {
      "page": "predict.LogisticModel",
      "title": "Predict method for LogisticModel",
      "topics": [
        "predict.LogisticModel"
      ]
    },
    {
      "page": "predict.RFModel",
      "title": "Predict method for RFModel",
      "topics": [
        "predict.RFModel"
      ]
    },
    {
      "page": "print.CoxModel",
      "title": "Print method for CoxModel",
      "topics": [
        "print.CoxModel"
      ]
    },
    {
      "page": "print.LinearModel",
      "title": "Print method for LinearModel",
      "topics": [
        "print.LinearModel"
      ]
    },
    {
      "page": "print.LogisticModel",
      "title": "Print method for LogisticModel",
      "topics": [
        "print.LogisticModel"
      ]
    },
    {
      "page": "print.RFModel",
      "title": "Print method for RFModel",
      "topics": [
        "print.RFModel"
      ]
    },
    {
      "page": "proximity_distance",
      "title": "Get proximity matrix of an ranger object",
      "topics": [
        "proximity_distance"
      ]
    },
    {
      "page": "ranger_forests_to_matrix",
      "title": "Forest2Matrix",
      "topics": [
        "ranger_forests_to_matrix"
      ]
    },
    {
      "page": "RegressionModel",
      "title": "Root class for Regression Models, e.g., CPH, logistic, and linear regression",
      "topics": [
        "RegressionModel"
      ]
    },
    {
      "page": "RFModel",
      "title": "RandomForest Model for Searching Similar Cases",
      "topics": [
        "RFModel"
      ]
    },
    {
      "page": "summary.CoxModel",
      "title": "Summary method for CoxModel",
      "topics": [
        "summary.CoxModel"
      ]
    },
    {
      "page": "summary.LinearModel",
      "title": "Summary method for LinearModel",
      "topics": [
        "summary.LinearModel"
      ]
    },
    {
      "page": "summary.LogisticModel",
      "title": "Summary method for LogisticModel",
      "topics": [
        "summary.LogisticModel"
      ]
    },
    {
      "page": "summary.RFModel",
      "title": "Summary method for RFModel",
      "topics": [
        "summary.RFModel"
      ]
    },
    {
      "page": "terminal_nodes",
      "title": "Get the terminal node id of a RandomForest Object",
      "topics": [
        "terminalNodes",
        "terminal_nodes"
      ]
    },
    {
      "page": "weighted_distance",
      "title": "Weighted Distance calculation",
      "topics": [
        "weightedDistance",
        "weighted_distance"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "polspline",
    "quantreg",
    "R6",
    "ranger",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tinytable",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "get_started.rmd",
      "filename": "get_started.html",
      "title": "Get Started",
      "author": "Dr. Simon Müller",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Cox Proportional Hazard Model",
        "Available Models",
        "Linear Regression",
        "Logistic Regression",
        "Cox Proportional Hazards Regression",
        "Random Forests",
        "Case Based Reasoning",
        "Search for Similar Cases",
        "Check Proportional Hazard Assumption",
        "Distance Matrix Calculation",
        "Survival Prediction",
        "Counterfactual Cases and Explanations",
        "Random Forests"
      ],
      "created": "2023-05-02 07:40:02",
      "modified": "2026-11-22 22:50:08",
      "commits": 4
    },
    {
      "source": "distance_measures.rmd",
      "filename": "distance_measures.html",
      "title": "Motivation",
      "author": "Dr. Simon Müller",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Objective",
        "Define a Distance Measure for Numerical and Categorical Features",
        "Weighted Distance Measure",
        "Statistical Model",
        "Contribution Space",
        "Random Forests",
        "Proximity Measure",
        "Out-of-Bag and RF-GAP Proximities",
        "Depth Measure: A modified proximity measure",
        "References"
      ],
      "created": "2023-05-02 07:40:02",
      "modified": "2026-11-22 22:50:08",
      "commits": 4
    }
  ],
  "_score": 2.9030899869919438,
  "_indexed": false,
  "_nocasepkg": "casebasedreasoning",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://sipemu.r-universe.dev/CaseBasedReasoning",
  "_previous": "0.4.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/d8b90dc90849f93502de0d951745cab21757ccb1de38102261b85489ad0a6877",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/c6a890a37850e168723e08c622d4da36a5d5e6c690324076ec8cf915babb9c23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/efef1d8da7348c62bfd5d9a8240f81611d3027979d14f528a6d2ac812365de6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/a3afe1a67b24e17cf52722d9cf7e0d9094f0e9f723da922dbaf0095131ac9ccb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:35.000Z",
      "arch": "emscripten",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/fc8ebd646a71fae6b3f6e32e3ac5e8af37046ac7946b8b7eb84d5b96157a9970",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-23T04:44:57.000Z",
      "arch": "aarch64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/432b22f2e410eadaf8d110885558b398b283585baac4384ea5af8c6c260b1f88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:16.000Z",
      "arch": "x86_64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/df99372fc17884f9ede3ec11832a0a63a198abaaa5b2211ebc9c1bedff0ab632",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-23T04:44:50.000Z",
      "arch": "aarch64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/b8dcaf4c7bdb10a0e1900077330753c830677d4669afa11c0a33a0a8b5c36b8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-11-23T04:43:12.000Z",
      "arch": "x86_64",
      "commit": "24cc35b94bccb2055e7750abe2c7d8f086d7019d",
      "fileid": "https://r2.ropensci.org/dabc719633d04c25561867431a88e8a17931143a98fcd10c01f5b1cf95a1c702",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45112869166"
    }
  ]
}