Package: HMDA 0.4.1

E. F. Haghish

HMDA: Holistic Multimodel Domain Analysis for Exploratory Machine Learning

Holistic Multimodel Domain Analysis (HMDA) is a robust and transparent framework designed for exploratory machine learning research, aiming to enhance the process of feature assessment and selection. HMDA addresses key limitations of traditional machine learning methods by evaluating the consistency across multiple high-performing models within a fine-tuned modeling grid, thereby improving the interpretability and reliability of feature importance assessments. Specifically, it computes Weighted Mean SHapley Additive exPlanations (WMSHAP), which aggregate feature contributions from multiple models based on weighted performance metrics. HMDA also provides confidence intervals to demonstrate the stability of these feature importance estimates. This framework is particularly beneficial for analyzing complex, multidimensional datasets common in health research, supporting reliable exploration of mental health outcomes such as suicidal ideation, suicide attempts, and other psychological conditions. Additionally, HMDA includes automated procedures for feature selection based on WMSHAP ratios and performs dimension reduction analyses to identify underlying structures among features. For more details see Haghish (2025) <doi:10.13140/RG.2.2.32473.63846>.

Authors:E. F. Haghish [aut, cre, cph]

HMDA_0.4.1.tar.gz
HMDA_0.4.1.zip(r-4.7-any)HMDA_0.4.1.zip(r-4.6-any)HMDA_0.4.1.zip(r-4.5-any)
HMDA_0.4.1.tgz(r-4.6-any)HMDA_0.4.1.tgz(r-4.5-any)
HMDA_0.4.1.tar.gz(r-4.7-any)HMDA_0.4.1.tar.gz(r-4.6-any)
HMDA_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
HMDA/json (API)

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

Bug tracker:https://github.com/haghish/hmda/issues

On CRAN:

Conda:

ensemble-feature-importanceexplainable-aiexplainable-artificial-intelligenceexplainable-machine-learningexplainable-mlexploratory-machine-learningexploratory-modellingfeature-importancefeature-selection-methodsholistic-modelingholistic-multimodel-domain-analysismultimodel-ensemblereproducible-aireproducible-researchrobust-feature-selectionshapley-additive-explanationsshapley-valuestransparent-aiweighted-mean-shapwmshap

4.13 score 2 stars 27 scripts 461 downloads 25 exports 48 dependencies

Last updated from:80ccbfafde. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK152
source / vignettesOK198
linux-releaseOK152
macos-releaseOK133
macos-oldrelOK94
windows-develOK109
windows-releaseOK98
windows-oldrelOK121
wasm-releaseOK122

Exports:check_efadictionaryhmda.adjust.paramshmda.autoEnsemblehmda.best.modelshmda.compare.shap.plothmda.domainhmda.efahmda.fastcompute.globalshaphmda.fastcompute.globalwmshaphmda.feature.selectionhmda.gridhmda.grid.analysishmda.inithmda.partitionhmda.plothmda.plot.metricshmda.rashomon.sethmda.row.plothmda.search.paramhmda.suggest.paramhmda.testhmda.wmshaphmda.wmshap.tablesuggest_mtries

Dependencies:autoEnsemblebitopsbootclicpp11curldigestdplyrfarvergenericsggplot2glueGPArotationgridExtragtableh2oh2otoolsisobandjsonlitelabelinglatticelifecyclemagrittrmnormtnlmepanderpillarpkgconfigplyrpsychR6RColorBrewerRcppRCurlreshape2rlangS7scalesshapleysplitToolsstringistringrtibbletidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Select Best Models by Performance Metricsbest_of_family
Check Exploratory Factor Analysis Suitabilitycheck_efa
Dictionary of Variable Attributesdictionary
Adjust Hyperparameter Combinationshmda.adjust.params
Build Stacked Ensemble Model Using autoEnsemble R packagehmda.autoEnsemble
Select Best Models Across All Models in HMDA Gridhmda.best.models
Compare SHAP plots across selected modelshmda.compare.shap.plot
Domain-level WMSHAP summary and plothmda.domain
Perform Exploratory Factor Analysis with HMDAhmda.efa
Fast Computation of Global SHAP Valueshmda.fastcompute.globalshap
Fast Computation of Global WMSHAP Valueshmda.fastcompute.globalwmshap
Feature Selection Based on Weighted SHAP Valueshmda.feature.selection
Tune a Cartesian Hyperparameter Grid in HMDAhmda.grid
Analyze Hyperparameter Grid Performancehmda.grid.analysis
Initialize or Restart H2O Cluster for HMDA Analysishmda.init
Partition Data for HMDA Analysishmda.partition
Plot WMSHAP contributionshmda.plot
Plot model performance metrics across a grid of modelshmda.plot.metrics
Select a Near-Optimal from a Model Gridhmda.rashomon.set
WMSHAP row-level plot for a single observation (participant or data row)hmda.row.plot
Search for Hyperparameters via Random Searchhmda.search.param
Suggest Hyperparameters for tuning HMDA Gridshmda.suggest.param
Normalize a vector based on specified minimum and maximum valueshmda.test
Compute Weighted Mean SHAP Values and Confidence Intervals via shapley algorithmhmda.wmshap
Create SHAP Summary Table Based on the Given Criterionhmda.wmshap.table
Suggest Alternative mtries Valuessuggest_mtries