#!/bin/bash chemprop_dir=../../../chemprop # location of chemprop directory, CHANGE ME results_dir=results_hiv train_path=../data/hiv/train.csv val_path=../data/hiv/val.csv test_path=../data/hiv/test.csv #Hyperparameter optimization python $chemprop_dir/hyperparameter_optimization.py \ --dataset_type classification \ --data_path $train_path \ --separate_val_path $val_path \ --separate_test_path $val_path \ --num_iters 30 \ --epochs 50 \ --aggregation norm \ --search_parameter_keywords depth ffn_num_layers hidden_size ffn_hidden_size dropout \ --config_save_path $results_dir/config.json \ --hyperopt_checkpoint_dir $results_dir \ --log_dir $results_dir #Training with optimized hyperparameters python $chemprop_dir/train.py \ --dataset_type classification \ --data_path $train_path \ --separate_val_path $val_path \ --separate_test_path $test_path \ --epochs 50 \ --aggregation norm \ --config_path $results_dir/config.json \ --save_dir $results_dir \ --ensemble_size 5 \ --save_preds \ --extra_metrics prc-auc