|
Revision 622, 1.0 kB
(checked in by smidl, 16 years ago)
|
|
astyle
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | //Data generating system |
|---|
| 2 | system = { |
|---|
| 3 | class = "ArxDS"; |
|---|
| 4 | y = {class="RV"; |
|---|
| 5 | names= ( "y", "u" ); |
|---|
| 6 | }; |
|---|
| 7 | u = {class="RV"; |
|---|
| 8 | names=(); |
|---|
| 9 | }; |
|---|
| 10 | rgr = {class="RV"; |
|---|
| 11 | names = ( "y","y","y","u" ); |
|---|
| 12 | times = [-1, -2, -3, -1]; |
|---|
| 13 | }; |
|---|
| 14 | //AR parameters |
|---|
| 15 | theta = ( 2,4,[0.8, -0.3, 0.4, 1.0, |
|---|
| 16 | 0.0, 0.0, 0.0, 0.0] ); |
|---|
| 17 | // offset |
|---|
| 18 | offset = [0.0, 0.0]; |
|---|
| 19 | //variance |
|---|
| 20 | r = ( 2,2,[0.1, 0.0, |
|---|
| 21 | 0.0, 1.0] ); |
|---|
| 22 | // log also theta |
|---|
| 23 | opt="L_theta"; |
|---|
| 24 | }; |
|---|
| 25 | |
|---|
| 26 | //store results |
|---|
| 27 | logger = { |
|---|
| 28 | class= "dirfilelog"; |
|---|
| 29 | dirname = "exp/arx_ui"; |
|---|
| 30 | maxlen = 1000; // |
|---|
| 31 | }; |
|---|
| 32 | |
|---|
| 33 | //estimation |
|---|
| 34 | estimator = { |
|---|
| 35 | class = "ARX"; |
|---|
| 36 | y = {class="RV"; |
|---|
| 37 | names= ( "y" ); |
|---|
| 38 | }; |
|---|
| 39 | rgr = {class="RV"; |
|---|
| 40 | names = ( "y","y","y","u" ); |
|---|
| 41 | times = [-1, -2, -3, -1]; |
|---|
| 42 | }; |
|---|
| 43 | |
|---|
| 44 | //optional fields |
|---|
| 45 | dV0 = [1e-3, 1e-5, 1e-5, 1e-5, 1e-5]; //default: 1e-3 for y, 1e-5 for rgr |
|---|
| 46 | nu0 = 8.; //default: rgrlen + 2 |
|---|
| 47 | frg = 1.0; // forgetting, default frg=1.0 |
|---|
| 48 | }; |
|---|
| 49 | |
|---|
| 50 | //experiment description |
|---|
| 51 | experiment: { |
|---|
| 52 | ndat = 9000; |
|---|
| 53 | }; |
|---|