Changeset 1366 for applications/robust/main.cpp
- Timestamp:
- 05/10/11 18:59:52 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/main.cpp
r1365 r1366 112 112 { 113 113 V0 = 0.01 * eye(ar_components.size()+2); 114 V0(0,0) = 0;114 V0(0,0) = 1; 115 115 my_arx->set_constant(true); 116 116 … … 120 120 121 121 V0 = 0.01 * eye(ar_components.size()+1); 122 V0(0,0) = 0;122 V0(0,0) = 1; 123 123 my_arx->set_constant(false); 124 124 … … 378 378 vector<vector<string>> strings; 379 379 380 char* file_string = "c:\\data ";380 char* file_string = "c:\\dataCDClosePercDiff"; 381 381 382 382 char dfstring[80]; … … 417 417 for(list<list<pair<int,int>>>::iterator model_type = model_types.begin();model_type!=model_types.end();model_type++) 418 418 { 419 models.push_back(new model((*model_type),true,false,30,0,&data_matrix)); 420 models.push_back(new model((*model_type),false,false,30,0,&data_matrix)); 419 models.push_back(new model((*model_type),true,true,100,0,&data_matrix)); 420 models.push_back(new model((*model_type),false,true,100,0,&data_matrix)); 421 models.push_back(new model((*model_type),true,false,100,0,&data_matrix)); 422 models.push_back(new model((*model_type),false,false,100,0,&data_matrix)); 421 423 } 422 424 423 425 mat result_lognc; 424 426 425 for(int time = max_model_order; 20;time++) //time<data_matrix.cols()427 for(int time = max_model_order;time<data_matrix.cols();time++) //time<data_matrix.cols() 426 428 { 427 429 vec cur_res_lognc;