Normalize line endings and whitespace
This commit is contained in:

committed by
Andrey Kamaev

parent
69020da607
commit
04384a71e4
@@ -437,7 +437,7 @@ int build_mlp_classifier( char* data_filename,
|
||||
cvMat( 1, (int)(sizeof(layer_sz)/sizeof(layer_sz[0])), CV_32S, layer_sz );
|
||||
mlp.create( &layer_sizes );
|
||||
printf( "Training the classifier (may take a few minutes)...\n");
|
||||
|
||||
|
||||
#if 1
|
||||
int method = CvANN_MLP_TrainParams::BACKPROP;
|
||||
double method_param = 0.001;
|
||||
@@ -447,7 +447,7 @@ int build_mlp_classifier( char* data_filename,
|
||||
double method_param = 0.1;
|
||||
int max_iter = 1000;
|
||||
#endif
|
||||
|
||||
|
||||
mlp.train( &train_data, new_responses, 0, 0,
|
||||
CvANN_MLP_TrainParams(cvTermCriteria(CV_TERMCRIT_ITER,max_iter,0.01),
|
||||
method, method_param));
|
||||
|
Reference in New Issue
Block a user