Skip to content

Commit d802f70

Browse files
author
Julian Kates-Harbeck
committed
shallow learning num samples paramter modification
1 parent 5054da1 commit d802f70

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/tune_hyperparams.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
kernel = CategoricalHyperparam(['model','shallow_model','kernel'],["rbf","sigmoid","linear","poly"])
1818
xg_learning_rate = ContinuousHyperparam(['model','shallow_model','learning_rate'],0,1)
1919
scale_pos_weight = CategoricalHyperparam(['model','shallow_model','scale_pos_weight'],[1,10.0,100.0])
20-
num_samples = CategoricalHyperparam(['model','shallow_model','num_samples'],[10000,100000,1000000,1e10])
20+
num_samples = CategoricalHyperparam(['model','shallow_model','num_samples'],[10000,100000,1000000,1e7])
2121
tunables = [shallow_model,n_estimators,max_depth,C,kernel,xg_learning_rate,scale_pos_weight,num_samples] #target
2222

2323
#for DL
@@ -28,14 +28,14 @@
2828
#target = CategoricalHyperparam(['target'],['maxhinge','hinge'])
2929
#batch_size = CategoricalHyperparam(['training','batch_size'],[256,128,32,64])
3030
#dropout_prob = CategoricalHyperparam(['model','dropout_prob'],[0.1,0.3,0.5])
31-
# tunables = [lr,lr_decay,fac] #target
31+
#tunables = [lr,lr_decay,fac] #target
3232

3333

3434
run_directory = "/tigress/{}/hyperparams/".format(getpass.getuser())
3535
template_path = os.environ['PWD'] #"/home/{}/plasma-python/examples/".format(getpass.getuser())
3636
conf_name = "conf.yaml"
3737
num_nodes = 1
38-
num_trials = 10
38+
num_trials = 100
3939

4040
def generate_conf_file(tunables,template_path = "../",save_path = "./",conf_name="conf.yaml"):
4141
assert(template_path != save_path)

0 commit comments

Comments
 (0)