Skip to content
Snippets Groups Projects
Commit 85818a96 authored by Franck Dary's avatar Franck Dary
Browse files

Removing duplicates examples only for tagger and parser

parent 10297e05
Branches 19-add-some-tests
No related tags found
No related merge requests found
......@@ -158,6 +158,7 @@ void train_nn(context * ctx)
Fann_file fann_train(ctx->fann_filename, classif_nb);
Fann_file fann_dev(ctx->fann_dev_filename, classif_nb);
if(!strcmp("TAGGER", classif->oracle_name)||!strcmp("PARSER", classif->oracle_name))
fann_train.delete_duplicates();
fann_train.over_sample(0.0); //The ratio between the nb of examples of the majority class and of the minority class will not be inferior to this value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment