Show
Ignore:
Timestamp:
05/03/11 18:10:42 (13 years ago)
Author:
sindj
Message:

Oprava dalsich drobnych chyb (pridavani otcovske podminky do totalne neutralnich poly). Jeste nejake zbyva odstranit. JS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/robust/main.cpp

    r1346 r1349  
    1818 
    1919const int emlig_size = 2; 
    20 const int utility_constant = 3; 
     20const int utility_constant = 10; 
    2121 
    2222 
     
    139139        vector<vector<string>> strings; 
    140140 
    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"}; 
    142142 
    143143        for(int i = 0;i<3;i++) 
     
    171171                vector<vec> conditions; 
    172172                //emlig* emliga = new emlig(2); 
    173                 RARX* my_rarx = new RARX(2,30,false); 
     173                RARX* my_rarx = new RARX(2,10,false); 
    174174                 
    175175                 
    176176                mat V0 = 0.0001 * eye ( 3 ); 
    177                 ARX* my_arx = new ARX(0.97); 
     177                ARX* my_arx = new ARX(0.85); 
    178178                my_arx->set_statistics ( 1, V0 ); //nu is default (set to have finite moments) 
    179179                my_arx->set_constant ( false ); 
     
    200200                                conditions[k-3].ins(0,strings[j][k]); 
    201201 
    202                                 cout << "Condition:" << conditions[k-3] << endl; 
     202                                // cout << "Condition:" << conditions[k-3] << endl; 
    203203 
    204204                                my_rarx->bayes(conditions[k-3]); 
     
    284284                                        */ 
    285285 
    286                                         cout << "Coefficients: " << poly_coefs << endl; 
     286                                        //cout << "Coefficients: " << poly_coefs << endl; 
    287287                                                                                 
    288288                                        /*