Package: blockwise 0.1.2

blockwise: Reduced Modeling for Tabular Data with Blockwise Missingness

Supervised learning on tabular data with blockwise missing patterns, using the Blockwise Reduced Modeling (BRM) method of Srinivasan, Currim, and Ram (2025) <doi:10.1287/ijds.2022.9016>. BRM partitions the training data into overlapping subsets based on per-row feature-missing patterns, fits one user-supplied learner per subset with minimal imputation, and at prediction time routes each test instance to the best-matching subset model. The interface is learner-agnostic: any fit-and-predict pair can be plugged in, and convenience specifications are provided for linear models, tree models, random forests, and gradient boosting.

Authors:Karthik Srinivasan [aut, cre], Faiz Currim [aut], Sudha Ram [aut]

blockwise_0.1.2.tar.gz
blockwise_0.1.2.zip(r-4.7-any)blockwise_0.1.2.zip(r-4.6-any)blockwise_0.1.2.zip(r-4.5-any)
blockwise_0.1.2.tgz(r-4.6-any)blockwise_0.1.2.tgz(r-4.5-any)
blockwise_0.1.2.tar.gz(r-4.7-any)blockwise_0.1.2.tar.gz(r-4.6-any)
blockwise_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
blockwise/json (API)

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

Bug tracker:https://github.com/karanalytics/blockwise/issues

Datasets:
  • adult - UCI Adult income classification dataset
  • bike - Capital Bikeshare hourly demand data
  • house - King County, WA house sales

On CRAN:

Conda:

2.48 score 5 scripts 310 downloads 9 exports 24 dependencies

Last updated from:316b011c7d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK129
source / vignettesOK314
linux-releaseOK124
macos-releaseOK168
macos-oldrelOK208
windows-develOK69
windows-releaseOK85
windows-oldrelOK78
wasm-releaseOK118

Exports:brmchoose_num_blockslearnerlearner_gbmlearner_glm_binomiallearner_lmlearner_rangerlearner_rpartsimulate_blockwise_missing

Dependencies:bootclasscolorspacedata.tableDEoptimRe1071jsonlitelaekenlatticelmtestMASSMatrixnnetproxyrangerRcppRcppEigenrobustbasespvcdVIMwithrxgboostzoo

BRM on the adult dataset (binary classification)
Overview | Inducing blockwise missingness | Train / test split | Fit BRM with a logistic-regression learner | Evaluate | Citation

Last update: 2026-06-24
Started: 2026-06-24

BRM on the bike dataset (regression)
Overview | Inducing a blockwise missing pattern | Train / test split | Fit BRM | Predict and score | Comparison to a listwise-deletion baseline | Citation

Last update: 2026-06-24
Started: 2026-06-24

BRM on the house dataset (regression)
Overview | Induce missingness, split, fit | Citation

Last update: 2026-06-24
Started: 2026-06-24