Changeset 357 for library/tutorial
- Timestamp:
- 06/08/09 02:15:30 (16 years ago)
- Location:
- library/tutorial
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tutorial/arx_mex_test.cfg
r278 r357 11 11 //estimation 12 12 estimator = { 13 type = "ARX est";14 y = {type=" rv"; names=["y"]; };15 rgr = {type=" rv";16 names = ["y","y","y","u"];13 type = "ARX"; 14 y = {type="RV"; names=("y"); }; 15 rgr = {type="RV"; 16 names = ("y","y","y","u"); 17 17 times = [-1, -2, -3, -1]; 18 18 }; -
library/tutorial/arx_test.cfg
r278 r357 1 1 //Data generating system 2 2 system = { 3 type= "ArxDS";4 y = { type="rv"; names=["y", "u"];};5 u = { type="rv"; names=[]; };6 rgr = { type="rv";7 names = ["y","y","y","u"];3 class = "ArxDS"; 4 y = {class="RV"; names=("y", "u");}; 5 u = {class="RV"; names=(); }; 6 rgr = {class="RV"; 7 names = ("y","y","y","u"); 8 8 times = [-1, -2, -3, -1]; 9 9 }; 10 10 //AR parameters 11 theta = [0.8, -0.3, 0.4, 1.0,12 0.0, 0.0, 0.0, 0.0];11 theta = (2,4,[0.8, -0.3, 0.4, 1.0, 12 0.0, 0.0, 0.0, 0.0]); 13 13 // offset 14 14 offset = [0.0, 0.0]; 15 15 //variance 16 r = [0.1, 0.0,17 0.0, 1.0];16 r = (2,2,[0.1, 0.0, 17 0.0, 1.0] ); 18 18 // log also theta 19 19 opt="L_theta"; … … 22 22 //store results 23 23 logger = { 24 type= "dirfilelog";24 class= "dirfilelog"; 25 25 dirname = "exp/arx_ui"; 26 26 maxlen = 1000; // … … 29 29 //estimation 30 30 estimator = { 31 type = "ARXest";32 y = { type="rv"; names=["y"]; };33 rgr = { type="rv";34 names = ["y","y","y","u"];31 class = "ARX"; 32 y = {class="RV"; names=("y"); }; 33 rgr = {class="RV"; 34 names = ("y","y","y","u"); 35 35 times = [-1, -2, -3, -1]; 36 36 };