3 ################################################################################
4 # This program is free software: you can redistribute it and#or modify #
5 # it under the terms of the version 3 of the GNU General Public License #
6 # as published by the Free Software Foundation. #
8 # This program is distributed in the hope that it will be useful, but #
9 # WITHOUT ANY WARRANTY; without even the implied warranty of #
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
11 # General Public License for more details. #
13 # You should have received a copy of the GNU General Public License #
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
16 # Written by Francois Fleuret #
17 # Copyright (C) Ecole Polytechnique Federale de Lausanne #
18 # Contact <francois.fleuret@epfl.ch> for comments & bug reports #
19 ################################################################################
21 # $Id: test.sh,v 1.3 2007-08-23 08:36:50 fleuret Exp $
25 for fs in cmim mim random; do
26 ./cmim --nb-features 10 --feature-selection $fs --classifier bayesian --train ./train.dat /tmp/$fs.clf
27 ./cmim --silent --test /tmp/$fs.clf test.dat results.dat | grep ERROR