run_ctbn_ssl.m 535 Bytes
Newer Older
dlinzner-bcs's avatar
 
dlinzner-bcs committed
1
2
3
4
5
6
7
8
9
10
%performs exhaustive structure search
%needs a params.mat and a data.mat in same folder (see readme)
%output: Nodem: estimated ctbn at different iterations
%        node : final estimated ctbn at different iterations
%        C    : estimated edge probabilities
%        F    : value of objective function at different iterations

addpath(genpath('ssl-ctbn-code'))

%name of experiment
dlinzner-bcs's avatar
dlinzner-bcs committed
11
name=sprintf('my_test_run_%d_%dparents',1);
dlinzner-bcs's avatar
 
dlinzner-bcs committed
12
%number of workers running in parallel
dlinzner-bcs's avatar
dlinzner-bcs committed
13
mworkers=4;
dlinzner-bcs's avatar
 
dlinzner-bcs committed
14
15

ctbn_gradient_structure_learning_dims(name,mworkers)