Changeset 1423 for applications/robust/main.cpp
- Timestamp:
- 01/27/12 18:09:09 (12 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/robust/main.cpp
r1413 r1423 31 31 const int max_model_order = 2; 32 32 const double apriorno = 0.01; 33 const int max_window_size = 30;33 const int max_window_size = 40; 34 34 const int utility_order = 25; 35 35 const int prediction_time = 30; 36 36 const double min_utility_argument = 0.001; 37 const double max_investment = 10.0;37 const double max_investment = 3.0; 38 38 const int sample_size = 5000; 39 const char* commodity = " BP\\";39 const char* commodity = "TY\\"; 40 40 41 41 /* … … 484 484 for(int window_size = max_window_size-1;window_size < max_window_size;window_size++) 485 485 { 486 models.push_back(new model((*model_type),true,true,window_size,0,&data_matrix)); // to su len konstruktory, len inicializujeme rozne typy 487 models.push_back(new model((*model_type),false,true,window_size,0,&data_matrix)); 486 //if(model_type->size()<max_model_order) 487 //{ 488 models.push_back(new model((*model_type),true,true,window_size,0,&data_matrix)); // to su len konstruktory, len inicializujeme rozne typy 489 models.push_back(new model((*model_type),false,true,window_size,0,&data_matrix)); 490 //} 488 491 models.push_back(new model((*model_type),true,false,window_size,0,&data_matrix)); 489 492 models.push_back(new model((*model_type),false,false,window_size,0,&data_matrix));