- Timestamp:
- 05/25/10 22:33:29 (15 years ago)
- Location:
- library/doc/tutorial
- Files:
-
- 2 added
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/tutorial/000install.dox
r948 r983 6 6 7 7 BDM comes in two basic versions: 8 \li\b binary with precompiled executables and matlab mex files that can be configured by external text files9 \li\b source \b code that can be compiled into any required form.8 - \b binary with precompiled executables and matlab mex files that can be configured by external text files 9 - \b source \b code that can be compiled into any required form. 10 10 11 11 \section in_bin Binaries for BDMtoolbox … … 13 13 14 14 Installation: 15 \lisvn checkout http://mys.utia.cas.cz:1800/svn/mixpp/applications/bdmtoolbox/ into your local directory of your choice (this will be denoted \<toolbox_dir\>)16 \lior download a prepared zip file from http://staff.utia.cas.cz/smidl/Public/bdmtoolbox_win32.zip and extract it to any directory (will be denoted \<toolbox_dir\>)17 \liopen matlab and type:15 - svn checkout http://mys.utia.cas.cz:1800/svn/mixpp/applications/bdmtoolbox/ into your local directory of your choice (this will be denoted \<toolbox_dir\>) 16 - or download a prepared zip file from http://staff.utia.cas.cz/smidl/Public/bdmtoolbox_win32.zip and extract it to any directory (will be denoted \<toolbox_dir\>) 17 - open matlab and type: 18 18 \code 19 19 >> addpath <toolbox_dir>/mex; … … 29 29 \endcode 30 30 For linux, the default build dir is \<toolbox_dir\>/mex, hence only me and mex_classes need to be in the path. 31 \lithe toolbox is ready to be used, test it e.g. by:31 - the toolbox is ready to be used, test it e.g. by: 32 32 \code >> cd tutorial/userguide; 33 33 >> pdfds_example \endcode 34 \liif no error is given, the toolbox is installed correctly35 \liproceed to tutorial at http://mys.utia.cas.cz:1800/trac/bdm/doxygen/pages.html to learn how to use it34 - if no error is given, the toolbox is installed correctly 35 - proceed to tutorial at http://mys.utia.cas.cz:1800/trac/bdm/doxygen/pages.html to learn how to use it 36 36 37 37 \section src Source code … … 47 47 48 48 You need to have the following tools available on your system: 49 \liworking C++ compiler, e.g. gcc on Linux, or Visual Studio on windows50 \liCMake, a cross-platform build system, http://www.cmake.org49 - working C++ compiler, e.g. gcc on Linux, or Visual Studio on windows 50 - CMake, a cross-platform build system, http://www.cmake.org 51 51 52 52 \section lin Linux … … 89 89 Compilation of BDM: 90 90 91 *When everything is set-up, make a copy of library\system\win32\run_cmake.bat, edit it91 - When everything is set-up, make a copy of library\system\win32\run_cmake.bat, edit it 92 92 to reflect your environment (i.e. change paths to cmake and your C++ target environment) 93 93 and run it. 94 94 95 *Alternatively, you can run CMake GUI and specify address to your \<bdm_dir\>95 - Alternatively, you can run CMake GUI and specify address to your \<bdm_dir\> 96 96 97 97 98 *It should generate build files for your compiler in the main BDM98 - It should generate build files for your compiler in the main BDM 99 99 directory 100 100 … … 108 108 109 109 Right now, Cmake configuration is hard-coded for one testing machine. Look for the paths in SetBDMEnv.cmake and correct them. 110 Open CMake GUI, cli sk Configure followed by Create.110 Open CMake GUI, click Configure followed by Create. 111 111 Configuration files for your favourite build environment should be created in the BDM directory. 112 112 -
library/doc/tutorial/005userguide0.dox
r944 r983 41 41 - \ref userguide_pdf 42 42 - \ref userguide_sim 43 - \ref userguide_estim43 - \ref userguide_estim 44 44 45 45 */ -
library/doc/tutorial/01userguide_sim.dox
r948 r983 70 70 -# return data observed at time \f$ t \f$, 71 71 -# perform one a time step. 72 -# describe what these data are, via class RV, introduced in ref \ ug_pdf_marg,72 -# describe what these data are, via class RV, introduced in ref \ref ug_pdf_marg, 73 73 -# store log of its activity into dedicated logger. 74 74 -
library/doc/tutorial/02userguide_estim.dox
r948 r983 28 28 \li Result Logger is an object (class logger) dedicated to storing important data from the experiment. 29 29 30 Since objects datasource and the logger has already been introduced in section \ref userguide , it remains to introduce30 Since objects datasource and the logger has already been introduced in section \ref userguide_sim, it remains to introduce 31 31 object \c Bayesian \c Model (bdm::BM). 32 32 … … 62 62 - logbounds - store also lower and upper bounds on estimates (obtained by calling BM::posterior().qbounds()), 63 63 - logevidence - store also evidence of each step of the Bayes rule. 64 These values are stored in given logger (\ref ug_ loggers). By default, only mean values of the estimate are stored.64 These values are stored in given logger (\ref ug_store). By default, only mean values of the estimate are stored. 65 65 66 66 Storing of the evidence is useful, e.g. in model selection task when two models are compared. … … 179 179 Similarly to the extension of pdf, the estimators (or filters) can be extended via prepared class \c mexBM in directory bdmtoolbox/mex/mex_classes. 180 180 181 An example of such class is mexLaplaceBM in \<toolbox_dir\> \tutorial\userguide\laplace_example.m181 An example of such class is mexLaplaceBM in \<toolbox_dir\>/tutorial/userguide/laplace_example.m 182 182 183 183 Note that matlab-extended classes of mexEpdf, specifically, mexDirac and mexLaplace are used as outputs of methods posterior and epredictor, respectively. -
library/doc/tutorial/030userguide3.dox
r948 r983 2 2 \page userguide_ctrl BDM Use - Control and Design of Decision Making Strategy 3 3 4 Bayesian estimation as introduced in Section \ref userguide 2is a special case of Decision Strategy, see. ....4 Bayesian estimation as introduced in Section \ref userguide_estim is a special case of Decision Strategy, see. .... 5 5 A more demanding scenario is to design a control strategy that will influence the system operating under uncertainty, this is implemented as scenario \c closedloop. 6 6