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