DCAN-Labs / DCAN-Labs/automated-qc

Ensemble model: Investigate optimal approach for incorporating covariates into model training

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We may want to determine the best method for utilizing covariates in the training pipeline. Could either include these in the original data loading as an additional channel and update the weights for each batch, or we could utilize these in the end in the loss function. So far there are two potential approaches to evaluate:

**Approach 1: Include covariates as additional input channels**

- Add covariates to the input data during data loading
- Allow model to learn relationships between covariates and target through standard backpropagation
- Requires updating data loader and potentially model architecture

**Approach 2: Incorporate covariates in the loss function**

- Keep the current model architecture unchanged
- Use covariates to weight or adjust loss calculation after each training epoch
- Implement covariate-based loss modifications

Tasks:

- [ ] Implement Approach 1 (covariates as input channels)
- [ ] Implement Approach 2 (covariates in loss function)
- [ ] Run comparative experiments to evaluate both approaches
- [ ] Document performance metrics for each approach
- [ ] Determine optimal strategy based on results

Open questions:

- Which covariates are most predictive vs. nuisance variables?
- Could a hybrid approach (some covariates as inputs, others in loss) be beneficial?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.