CRF

所属分类:matlab编程
开发工具:MultiPlatform
文件大小:5574KB
下载次数:3
上传日期:2016-05-23 08:02:41
上 传 者meomuop2508
说明:  This is a Matlab/C++ toolbox of code for learning and inference with graphical models. It is focused on parameter learning using marginalization in the high-treewidth setting. Though the code is, in principle, domain independent, I ve developed it with vision problems in mind, particularly for learning Conditional Random Fields (CRFs)

文件列表:
JustinsGraphicalModelsToolboxPublic (0, 2015-05-29)
JustinsGraphicalModelsToolboxPublic\.DS_Store (12292, 2015-04-20)
JustinsGraphicalModelsToolboxPublic\compile.m (820, 2011-12-21)
JustinsGraphicalModelsToolboxPublic\compile_openmp.m (936, 2011-12-21)
JustinsGraphicalModelsToolboxPublic\CRF (0, 2015-04-20)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_independent.m (1538, 2011-03-29)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_independent_noties.m (479, 2011-03-30)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_independent_pairtypes.m (1352, 2011-02-19)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_independent_pairtypes.m~ (1271, 2011-02-19)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_linear.m (1506, 2011-12-18)
JustinsGraphicalModelsToolboxPublic\CRF\crf_linear_linear_noties.m (1961, 2011-07-26)
JustinsGraphicalModelsToolboxPublic\CRF\eval_crf.m (406, 2012-01-04)
JustinsGraphicalModelsToolboxPublic\CRF\train_crf.m (8654, 2012-01-05)
JustinsGraphicalModelsToolboxPublic\Differentiation (0, 2015-04-20)
JustinsGraphicalModelsToolboxPublic\Differentiation\A_bruteforce.m (696, 2011-07-26)
JustinsGraphicalModelsToolboxPublic\Differentiation\A_bruteforce.m~ (717, 2011-07-26)
JustinsGraphicalModelsToolboxPublic\Differentiation\implicit_perturbation.m (4366, 2011-07-31)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop.m (5939, 2011-07-26)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop.m~ (5092, 2011-03-20)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_fast.m (2911, 2011-08-16)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper1.cpp (5314, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper1.mexa64 (16897, 2011-12-18)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper1.mexmaci64 (18760, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper2.cpp (6172, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper2.mexa64 (16456, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\meanfield_bprop_helper2.mexmaci64 (18656, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop.m (13222, 2011-07-26)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_fast.m (4710, 2011-12-20)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper1.cpp (7880, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper1.mexa64 (19471, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper1.mexmaci64 (23088, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper1.mexw32 (20480, 2013-02-18)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper1.mexw64 (27648, 2013-09-07)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper2.cpp (9646, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper2.mexa64 (21861, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper2.mexmaci64 (27080, 2011-12-19)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper2.mexw32 (23552, 2013-02-18)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_helper2.mexw64 (29696, 2013-09-07)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_scheduled.m (15835, 2011-12-20)
JustinsGraphicalModelsToolboxPublic\Differentiation\trw_bprop_scheduled_fast.m (3234, 2011-12-21)
... ...

DOCUMENTATION http://phd.gccis.rit.edu/justindomke/JGMT/ QUICK START 1) Go to the root directory in matlab 2) Compile the code. You shouldn't need to do this if binaries are available for your system (*** bit linux or *** bit os X). If you do need to compile the binaries, please email them the author so they can be included for others. >> mex -setup % make sure you have a c++ compiler installed >> compile 3) (optional) Compile the multi-threaded code back-TRW code. You probably _will_ need to do this if you want to use the multi-threaded code, because binaries using openmp don't appear to be very portable. Your compiler must support openmp in order to do this. Recent versions of gcc, icc, visual studio all do, though this has only been tested using gcc >> compile_openmp 4) Add the libraries to the path >> addpath(genpath('.')) 5) Run an example of training and evaluating a CRF >> example_binarydenoising 6) A more complex example is available from Examples/example_backgrounds (requires downloading some code) DIFFERENT WAYS YOU COULD USE THE TOOLBOX 1 - Just call the [Inference] methods (trw/meanfield), do everything else on your own. 2 - Use the [Differentiation] methods (bprob_trw, implicit_diff) to calculate parameter gradients by providing your own loss functions. Do everything else on your own. 3 - Use the [Loss] methods (em, implicit_loss) to calculate parameter gradients by providing a true vector x and a loss name 4 - Use the [CRF] methods to calculate calculate almost everything (deal with parameter ties for a specific type of model, etc.) QUESTIONS justin.domke@rit.edu

近期下载者

相关文件


收藏者