Package: CaseBasedReasoning 0.5.0

Simon Mueller

CaseBasedReasoning: Case Based Reasoning

Case-based reasoning is a problem-solving methodology that involves solving a new problem by referring to the solution of a similar problem in a large set of previously solved problems. The key aspect of Case Based Reasoning is to determine the problem that "most closely" matches the new problem at hand. This is achieved by defining a family of distance functions and using these distance functions as parameters for local averaging regression estimates of the final result. The optimal distance function is chosen based on a specific error measure used in regression estimation. This approach allows for efficient problem-solving by leveraging past experiences and adapting solutions from similar cases. The underlying concept is inspired by the work of Dippon J. et al. (2002) <doi:10.1016/S0167-9473(02)00058-0>.

Authors:Simon Mueller [aut, cre], PD Dr. Juergen Dippon [ctb]

CaseBasedReasoning_0.5.0.tar.gz
CaseBasedReasoning_0.5.0.zip(r-4.7-x86_64)CaseBasedReasoning_0.5.0.zip(r-4.7-arm64)CaseBasedReasoning_0.5.0.zip(r-4.6-x86_64)CaseBasedReasoning_0.5.0.zip(r-4.6-arm64)
CaseBasedReasoning_0.5.0.tar.gz(r-4.7-arm64)CaseBasedReasoning_0.5.0.tar.gz(r-4.7-x86_64)CaseBasedReasoning_0.5.0.tar.gz(r-4.6-arm64)CaseBasedReasoning_0.5.0.tar.gz(r-4.6-x86_64)
CaseBasedReasoning_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
CaseBasedReasoning/json (API)

# Install 'CaseBasedReasoning' in R:
install.packages('CaseBasedReasoning', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sipemu/case-based-reasoning/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.90 score 2 stars 539 downloads 17 exports 77 dependencies

Last updated from:24cc35b94b. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK163
linux-devel-x86_64OK183
source / vignettesOK279
linux-release-arm64OK161
linux-release-x86_64OK192
windows-devel-arm64OK306
windows-devel-x86_64OK265
windows-release-arm64OK289
windows-release-x86_64OK213
wasm-releaseOK146

Exports:as_dist_objectasDistObjectCoxModeldepth_distancedistance_random_forestdistanceRandomForestedges_between_terminal_nodesgenerate_gridLinearModelLogisticModelproximity_distanceranger_forests_to_matrixRFModelterminal_nodesterminalNodesweighted_distanceweightedDistance

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacecpp11data.tabledigestevaluatefarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemimemultcompmvtnormnlmennetpolsplinequantregR6rangerrappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrmarkdownrmsrpartrstudioapiS7sandwichsassscalesSparseMstringistringrsurvivalTH.datatinytabletinytexvctrsviridisLitewithrxfunyamlzoo

Get Started
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

Last update: 2026-11-22
Started: 2023-05-02

Motivation
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

Last update: 2026-11-22
Started: 2023-05-02