-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
71 lines (64 loc) · 1.74 KB
/
Copy pathconfig.yaml
File metadata and controls
71 lines (64 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# ============================================
# MLOmics Project Configuration
# ============================================
# Central configuration file — ALL hyperparameters, paths, and seeds live here.
# Loaded via: from src.utils import load_config; config = load_config()
# ============================================
project:
name: "MLOmics"
version: "1.0"
seed: 42
cancer_types: ["GS-BRCA", "GS-COAD"]
paths:
raw_data: "data/raw"
preprocessed: "data/preprocessed"
toy_data: "data/toy"
models: "models"
results: "results"
cv_folds: "data/cv_folds.json"
sample_map: "data/sample_map.csv"
experiment_log: "experiment_log.csv"
modalities:
mrna:
name: "mRNA"
feature_count: 5000
file_pattern: "{cancer}_mRNA_top.csv"
mirna:
name: "miRNA"
feature_count: null # varies by cancer: BRCA=366, COAD=200 — read dynamically
file_pattern: "{cancer}_miRNA_top.csv"
methy:
name: "Methylation"
feature_count: 5000
file_pattern: "{cancer}_Methy_top.csv"
cnv:
name: "CNV"
feature_count: 5000
file_pattern: "{cancer}_CNV_top.csv"
preprocessing:
drop_threshold: 0.5 # Drop samples with >50% missing modalities
scaling: "zscore" # z-score normalization
baselines:
xgboost:
n_estimators: 300
max_depth: 6
learning_rate: 0.1
random_state: 42
random_forest:
n_estimators: 300
max_depth: null # None = unlimited depth
random_state: 42
fusion:
encoder_hidden: 256
latent_dims: [32, 64, 128] # Candidates to try
default_latent_dim: 64
classifier_hidden: 128
dropout: 0.3
batch_size: 32
epochs: 100
patience: 10 # Early stopping
learning_rate: 0.001
weight_decay: 0.0001
evaluation:
n_folds: 5
metrics: ["precision", "recall", "f1", "nmi", "ari"]