Mercurial > hg > camir-aes2014
comparison core/magnatagatune/tests_evals/rbm_subspace/resume_from_grid.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function inx = resume_from_grid(log_file,inx_size); | |
2 % The function read the log file and resume the grid search for params | |
3 % sontran 2013 | |
4 stt = exist(log_file,'file'); | |
5 if stt == 0 | |
6 inx = ones(1,inx_size); | |
7 else | |
8 load(log_file); | |
9 inx = data(end,:); | |
10 inx = inx(1:inx_size); | |
11 end | |
12 end | |
13 |