Changeset 1349 for applications/robust/main.cpp
- Timestamp:
- 05/03/11 18:10:42 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/main.cpp
r1346 r1349 18 18 19 19 const int emlig_size = 2; 20 const int utility_constant = 3;20 const int utility_constant = 10; 21 21 22 22 … … 139 139 vector<vector<string>> strings; 140 140 141 char* file_strings[3] = {"c:\\ Users\\Hontik\\Desktop\\dataGCClosePercDiff","c:\\ar_student_single","c:\\ar_cauchy_single"};141 char* file_strings[3] = {"c:\\dataCDClosePercDiff","c:\\ar_student_single","c:\\ar_cauchy_single"}; 142 142 143 143 for(int i = 0;i<3;i++) … … 171 171 vector<vec> conditions; 172 172 //emlig* emliga = new emlig(2); 173 RARX* my_rarx = new RARX(2, 30,false);173 RARX* my_rarx = new RARX(2,10,false); 174 174 175 175 176 176 mat V0 = 0.0001 * eye ( 3 ); 177 ARX* my_arx = new ARX(0. 97);177 ARX* my_arx = new ARX(0.85); 178 178 my_arx->set_statistics ( 1, V0 ); //nu is default (set to have finite moments) 179 179 my_arx->set_constant ( false ); … … 200 200 conditions[k-3].ins(0,strings[j][k]); 201 201 202 cout << "Condition:" << conditions[k-3] << endl;202 // cout << "Condition:" << conditions[k-3] << endl; 203 203 204 204 my_rarx->bayes(conditions[k-3]); … … 284 284 */ 285 285 286 cout << "Coefficients: " << poly_coefs << endl;286 //cout << "Coefficients: " << poly_coefs << endl; 287 287 288 288 /*