Added new dataset called cervical cancer and trained the model on this dataset as well
#1
by
Ash444
- opened
- cervical/config.yaml +72 -0
- cervical/model-final.pt +3 -0
- cervical/transformation.joblib +3 -0
cervical/config.yaml
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
data:
|
| 2 |
+
path_table: ./data/cervical_train.csv
|
| 3 |
+
numerical_columns:
|
| 4 |
+
- Age
|
| 5 |
+
- Number of sexual partners
|
| 6 |
+
- First sexual intercourse
|
| 7 |
+
- Num of pregnancies
|
| 8 |
+
- Smokes
|
| 9 |
+
- Smokes (years)
|
| 10 |
+
- Smokes (packs/year)
|
| 11 |
+
- Hormonal Contraceptives
|
| 12 |
+
- Hormonal Contraceptives (years)
|
| 13 |
+
- IUD
|
| 14 |
+
- IUD (years)
|
| 15 |
+
- STDs
|
| 16 |
+
- STDs (number)
|
| 17 |
+
- STDs:condylomatosis
|
| 18 |
+
- STDs:cervical condylomatosis
|
| 19 |
+
- STDs:vaginal condylomatosis
|
| 20 |
+
- STDs:vulvo-perineal condylomatosis
|
| 21 |
+
- STDs:syphilis
|
| 22 |
+
- STDs:pelvic inflammatory disease
|
| 23 |
+
- STDs:genital herpes
|
| 24 |
+
- STDs:molluscum contagiosum
|
| 25 |
+
- STDs:AIDS
|
| 26 |
+
- STDs:HIV
|
| 27 |
+
- STDs:Hepatitis B
|
| 28 |
+
- STDs:HPV
|
| 29 |
+
- STDs: Number of diagnosis
|
| 30 |
+
- STDs: Time since first diagnosis
|
| 31 |
+
- STDs: Time since last diagnosis
|
| 32 |
+
- Dx:Cancer
|
| 33 |
+
- Dx:CIN
|
| 34 |
+
- Dx:HPV
|
| 35 |
+
- Dx
|
| 36 |
+
- Hinselmann
|
| 37 |
+
- Schiller
|
| 38 |
+
- Citology
|
| 39 |
+
categorical_columns: []
|
| 40 |
+
columns_to_drop:
|
| 41 |
+
- STDs:cervical condylomatosis
|
| 42 |
+
- STDs:AIDS
|
| 43 |
+
dropna: true
|
| 44 |
+
fillna: false
|
| 45 |
+
target_column: Biopsy
|
| 46 |
+
split_feature_target: true
|
| 47 |
+
task: classification
|
| 48 |
+
model:
|
| 49 |
+
dim: 256
|
| 50 |
+
n_res_blocks: 3
|
| 51 |
+
diffusion:
|
| 52 |
+
schedule: quad
|
| 53 |
+
n_timesteps: 1000
|
| 54 |
+
target: two_way
|
| 55 |
+
trainer:
|
| 56 |
+
train_num_steps: 500000
|
| 57 |
+
log_every: 100
|
| 58 |
+
save_every: 10000
|
| 59 |
+
save_num_samples: 64
|
| 60 |
+
max_grad_norm: null
|
| 61 |
+
gradient_accumulate_every: 1
|
| 62 |
+
ema_decay: 0.995
|
| 63 |
+
ema_update_every: 10
|
| 64 |
+
lr: 0.0001
|
| 65 |
+
opt_type: adam
|
| 66 |
+
opt_params: null
|
| 67 |
+
batch_size: 256
|
| 68 |
+
dataloader_workers: 16
|
| 69 |
+
classifier_free_guidance: true
|
| 70 |
+
zero_token_probability: 0.1
|
| 71 |
+
fine_tune_from: null
|
| 72 |
+
comment: cervical_CFG
|
cervical/model-final.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:377c8f5b691cf4d13317f2cb03c731b22a4573a1c81b65b42ec0dd91e5facc13
|
| 3 |
+
size 50626114
|
cervical/transformation.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:388787ead38af295199ee7ad3cb344497f4a60b1a5ae7e5db75dec3437f379a2
|
| 3 |
+
size 4338
|