Mercurial > hg > mauch-mirex-2010
annotate _FullBNT/BNT/learning/mk_schedule.m @ 9:4ea6619cb3f5 tip
removed log files
author | matthiasm |
---|---|
date | Fri, 11 Apr 2014 15:55:11 +0100 |
parents | b5b38998ef3b |
children |
rev | line source |
---|---|
matthiasm@8 | 1 function schedule = mk_schedule(init_temp, final_temp, anneal_rate) |
matthiasm@8 | 2 |
matthiasm@8 | 3 init_temp = 10; final_temp = 1e-2; anneal_rate = 0.8; |
matthiasm@8 | 4 schedule = []; |
matthiasm@8 | 5 temp=init_temp; |
matthiasm@8 | 6 schedule = [schedule temp]; |
matthiasm@8 | 7 while temp > final_temp |
matthiasm@8 | 8 temp = temp * anneal_rate; |
matthiasm@8 | 9 schedule = [schedule temp]; |
matthiasm@8 | 10 end |