Tabular ML (bookmark)
Supporting table-level modelling after a habitat
FeatureTable. This is not the product core and
is not a wall of classifiers on API Reference.
User guide: Table ML domain API. Composer:
TablePipeline (documented on habit.pipeline: compose subject / table pipelines).
Construct components with each domain registry’s create /
constructor_signature (do not invent sklearn-shaped aliases).
Image-side feature scaling is habit.feature_preprocessing: scale voxel-feature matrices.
Classes
Learn and apply a feature-table transformation. |
|
Name-to-implementation registry for feature-table preprocessors. |
|
Learn and apply a feature-column subset. |
|
Name-to-implementation registry for feature-table selectors. |
|
Outcome model over feature tables. |
|
Name-to-implementation registry for outcome classifiers. |
|
Evaluation metric with explicit input requirements. |
|
Name-to-implementation registry for evaluation metrics. |
|
Outcome of |
|
Outcome of |
|
Outcome of |
|
Outcome of |
Functions
Recipe helpers exported from habit.recipes:
Fit one pipeline on a table and score it, with an optional hold-out split. |
|
Estimate generalisation with stratified K-fold cross-validation. |
|
Apply one FITTED pipeline to new rows (the inference recipe). |
|
Tune hyperparameters by K-fold search and write the winners into the spec. |
|
Compare multiple trained models from a validated comparison config. |
|
Compare two models' ROC AUCs on the same subjects (paired DeLong test). |
|
Build one ML model instance for config validation ( |
Evaluation statistics
Compute the ROC AUC and its DeLong confidence interval. |
|
Run both calibration tests HABIT reports for a binary model. |
|
Compare two models' ROC AUCs on the same subjects (paired DeLong test). |
|
Compute per-feature test-retest ICCs across measurement sessions. |
|
Build one feature's (subjects x sessions) repeat-measurement matrix. |
|
ROC AUC with its DeLong confidence interval. |
|
The two calibration test outcomes reported together for a model. |
|
Outcome of a paired DeLong AUC comparison. |