antoniaebner commited on
Commit
d3adce4
·
verified ·
1 Parent(s): 341debe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -70,6 +70,22 @@ conda activate tox21_xgb_cls
70
  pip install -r requirements.txt
71
  ```
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  # Inference
74
 
75
  For inference, you only need `predict.py`.
 
70
  pip install -r requirements.txt
71
  ```
72
 
73
+
74
+ # Training
75
+
76
+ To train the XGBoost model from scratch, run:
77
+
78
+ ```bash
79
+ python preprocess.py
80
+ python train.py
81
+ ```
82
+
83
+ These commands will:
84
+ 1. Load and preprocess the Tox21 training dataset
85
+ 2. Train an XGBoost classifier
86
+ 3. Store the resulting model in the `checkpoints/` directory.
87
+
88
+
89
  # Inference
90
 
91
  For inference, you only need `predict.py`.