Changeset 1322 for library/tests
- Timestamp:
- 04/04/11 14:15:32 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/tutorial/arx_simple.cpp
r1064 r1322 12 12 Ar.validate(); 13 13 // forgetting is default: 1.0 14 mat Data = concat_vertical ( randn ( 1, 100 ), ones ( 1, 100 ) ); 15 Ar.bayes_batch ( Data ); 14 Ar.bayes_batch ( randn ( 1, 3400 ) ); 16 15 17 16 cout << "Expected value of Theta is: " << Ar.posterior().mean() << endl; 17 cout << "NC of posterior: " << Ar.posterior().lognc() << endl; 18 18 }