Changeset 661 for library/doc/html/arx_ui.html
- Timestamp:
- 10/15/09 00:10:19 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/arx_ui.html
r656 r661 59 59 </ul> 60 60 </div> 61 <div class="navpath"><a class="el" href="dev _guide.html">BDM Use - in C++</a>61 <div class="navpath"><a class="el" href="devguide.html">BDM Use - in C++</a> 62 62 </div> 63 63 </div> … … 65 65 66 66 67 <h1><a class="anchor" id="arx_ui">Running experiment <code>estimator</code> with ARX data fields </a></h1><p>The experiment estimator::cppcan be run either on command line, or as a mex file in Matlab.</p>67 <h1><a class="anchor" id="arx_ui">Running experiment <code>estimator</code> with ARX data fields </a></h1><p>The experiment <code>estimator.cpp</code> can be run either on command line, or as a mex file in Matlab.</p> 68 68 <h2><a class="anchor" id="cmd"> 69 69 Command Line</a></h2> 70 <p>In order to use it for estimation of an ARX model, we can define the following <a class="el" href="ui _page.html">user info</a> structure: </p>70 <p>In order to use it for estimation of an ARX model, we can define the following <a class="el" href="ui.html">user info</a> structure: </p> 71 71 <div class="fragment"><pre class="fragment"></pre></div><p>The structure is interpreted by application <code>estimator</code>, which looks for fields: </p> 72 72 <dl> 73 73 <dt>system</dt> 74 <dd>description of a Data Source generating Data. The structure must by UI with <code> type="DS_offspring"</code>. In our example, it is of type"ArxDS" which is parsed by bdm::UIArxDS UIbuilder generating a Data Source simulating ARX process. </dd>74 <dd>description of a Data Source generating Data. The structure must by UI with <code>class="DS_offspring"</code>. In our example, it is of class "ArxDS" which is parsed by bdm::UIArxDS UIbuilder generating a Data Source simulating ARX process. </dd> 75 75 <dt>estimator </dt> 76 <dd>description of a Baysian model used to estimate parameters of the data model. In this case, it is of type"ARXest" which is parsed by bdm::UIARX UIbuilder generating Bayesian estimator of autoregressive processess. </dd>76 <dd>description of a Baysian model used to estimate parameters of the data model. In this case, it is of class "ARXest" which is parsed by bdm::UIARX UIbuilder generating Bayesian estimator of autoregressive processess. </dd> 77 77 <dt>logger</dt> 78 <dd>description of a way how to store results. UI is of <code> type="logger_offspring"</code>. In this case, it is of class "dirfilelog" which is parsed by bdm::UIdirfilelog which generates object storing data in directory specified by dirname="" field in fileformat understood by program kst. </dd>78 <dd>description of a way how to store results. UI is of <code>class="logger_offspring"</code>. In this case, it is of class "dirfilelog" which is parsed by bdm::UIdirfilelog which generates object storing data in directory specified by dirname="" field in fileformat understood by program kst. </dd> 79 79 </dl> 80 80 <p>When the application estimator is run with the above code, it produces a directory of data files, which can be displayed by program kst. Expected results are: </p> … … 84 84 <h2><a class="anchor" id="mex"> 85 85 Matlab mex file</a></h2> 86 <p>The matlab mex file can be run with exactly the same configuration as above. However, when we wish to see the results in Matlab, we may wish to change the logger object to <code> type="mexlog"</code> which will store the results in a matlab structure.</p>86 <p>The matlab mex file can be run with exactly the same configuration as above. However, when we wish to see the results in Matlab, we may wish to change the logger object to <code>class="mexlog"</code> which will store the results in a matlab structure.</p> 87 87 <p>The exact configuration file may look as follows: </p> 88 88 <div class="fragment"><pre class="fragment"></pre></div><p>The resulting structure can be displayed using matlab script arx_test_disp.m, typically producing the following results: </p> … … 91 91 </div> 92 92 </div> 93 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 12 19:37:19 2009 for mixpp by 93 <hr size="1"/><address style="text-align: right;"><small>Generated on Thu Oct 15 00:07:49 2009 for mixpp by 94 94 <a href="http://www.doxygen.org/index.html"> 95 95 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>