How mitmedialab/personalizedmultitasklearning works
This repository supports personalized multitask prediction of wellbeing outcomes, alongside single-task baselines. The documented workflow is to turn CSV records into per-task data, select a model and tune it through a wrapper, then evaluate predictions. Major branches include multitask neural networks, MTMKL, hierarchical Bayesian logistic regression, and logistic-regression/LS-SVM baselines. The graph includes documented capabilities whose implementation was not sampled; links for those rely on the README or SOURCE INDEX, rather than implying unsampled code was inspected.
Main entry points: make_datasets.py Task datasets · generic_wrapper.py STL sweep · MTMKLWrapper.py MTMKL wrapper · HBLRWrapper.py HBLR wrapper
Components 19
Data preparation
- Task datasets
make_datasets.py
Neural networks
- Multitask NN wrapper
NeuralNetworks/tensorFlowWrapper.py - Multitask network
NeuralNetworks/tensorFlowNetworkMultiTask.py - Single-task NN wrapper
NeuralNetworks/tensorFlowWrapperSTL.py - Single-task network
NeuralNetworks/tensorFlowNetwork.py
Kernel models
- LS-SVM wrapper
LSSVM/LSSVMWrapper.py - LS-SVM
LSSVM/LSSVM.py - MTMKL wrapper
MTMKL/MTMKLWrapper.py - MTMKL
MTMKL/MTMKL.py
Bayesian model
- HBLR wrapper
HBLR/HBLRWrapper.py - HBLR inference
HBLR/HBLR.py - DP distribution
HBLR/HBLR_Distribution.py
Shared training
- Data utilities
helperFuncs.py - STL sweep
generic_wrapper.py - LR wrapper
LogisticRegression/LRWrapper.py - Logistic regression
LogisticRegression/LR.py - Validation results
generic_wrapper.py
Other components
- Researcher
- Outcome CSV
Connections 23
- Researcher → Outcome CSV: provides data
README.md - Outcome CSV → Task datasets: partitions tasks
README.md - Task datasets → Data utilities: cross-validates
helperFuncs.py - Task datasets → STL sweep: loads tasks
generic_wrapper.py - STL sweep → Data utilities: uses utilities
generic_wrapper.py - STL sweep → LR wrapper: shared sweep base
LogisticRegression/LRWrapper.py - STL sweep → LS-SVM wrapper: shared sweep base
LSSVM/LSSVMWrapper.py - LR wrapper → Logistic regression: trains and predicts
LogisticRegression/LRWrapper.py - LS-SVM wrapper → LS-SVM: trains model
LSSVM/LSSVMWrapper.py - Task datasets → MTMKL wrapper: supplies task data
README.md - MTMKL wrapper → MTMKL: trains and evaluates
MTMKL/MTMKLWrapper.py - MTMKL → LS-SVM: uses classifier
MTMKL/MTMKL.py - Task datasets → HBLR wrapper: supplies task data
README.md - HBLR wrapper → HBLR inference: trains and predicts
HBLR/HBLRWrapper.py - HBLR inference → DP distribution: uses distribution
HBLR/HBLR.py - Task datasets → Multitask NN wrapper: supplies task data
README.md - Multitask NN wrapper → Multitask network: configures network
NeuralNetworks/tensorFlowWrapper.py - Task datasets → Single-task NN wrapper: supplies task data
README.md - Single-task NN wrapper → Single-task network: configures network
NeuralNetworks/tensorFlowWrapperSTL.py - STL sweep → Validation results: records sweep results
generic_wrapper.py - LR wrapper → Validation results: reports evaluation
generic_wrapper.py - MTMKL wrapper → Validation results: reports evaluation
MTMKL/MTMKLWrapper.py - HBLR wrapper → Validation results: reports evaluation
HBLR/HBLRWrapper.py