clean scripts
Compare changes
- Charly LAMOTHE authored
- Add experiment_configuration parameter to run an experiment from a json configuration file. If the experiment configuration are commnig from the arguments, save it to a file to keep trace of it; - Add few comments in train.py.
+ 49
− 23
@@ -14,24 +14,25 @@ import random
@@ -39,17 +40,17 @@ def process_job(seed, args, experiment_id):
@@ -63,6 +64,7 @@ if __name__ == "__main__":
@@ -74,12 +76,14 @@ if __name__ == "__main__":
parser.add_argument('--dataset_name', nargs='?', type=str, default=DEFAULT_DATASET_NAME, help='Specify the dataset. Regression: boston, diabetes, linnerud, california_housing. Classification: iris, digits, wine, breast_cancer, olivetti_faces, 20newsgroups, 20newsgroups_vectorized, lfw_people, lfw_pairs, covtype, rcv1, kddcup99.')
@@ -91,28 +95,50 @@ if __name__ == "__main__":