From: Francois Fleuret Date: Mon, 10 Nov 2008 16:24:59 +0000 (+0100) Subject: automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=821328d86a960f3c5303d22381dce3d7da059f0a;p=cmim.git automatic commit --- diff --git a/Makefile b/Makefile index 7e09205..1a28596 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # along with this program. If not, see . # # # # Written by Francois Fleuret # -# (C) Ecole Polytechnique Federale de Lausanne # +# Copyright (C) Ecole Polytechnique Federale de Lausanne # # Contact for comments & bug reports # ################################################################################ diff --git a/README b/README index f156ead..fe552d0 100644 --- a/README +++ b/README @@ -31,10 +31,10 @@ $Id: README,v 1.3 2007-08-23 08:36:50 fleuret Exp $ To compile and test, just type 'make test' - This small test consists in generating a sample set for a toy + This small test consists of generating a sample set for a toy problem and testing CMIM, MIM and a random feature selection with the naive Bayesian learner. The two populations of the toy problem - lives in the [0,1]^2 square. The positive population is in x^2+y^2 < + live in the [0, 1]^2 square. The positive population is in x^2+y^2 < 1/4 and the negative population is everything else. Look at create_samples.cc for more details. The features are responses of linear classifiers generated at random. @@ -86,7 +86,7 @@ $Id: README,v 1.3 2007-08-23 08:36:50 fleuret Exp $ --train - Build and save to disk a classifier + Build a classifier and save it on disk --test diff --git a/classifier.cc b/classifier.cc index 23950a4..a0f36f0 100644 --- a/classifier.cc +++ b/classifier.cc @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/classifier.h b/classifier.h index 8b4ce15..5de4338 100644 --- a/classifier.h +++ b/classifier.h @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/cmim.cc b/cmim.cc index 0aa3b8d..44c4629 100644 --- a/cmim.cc +++ b/cmim.cc @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// @@ -54,7 +54,7 @@ bool verbose = true; bool balanced_error = false; int nb_selected_features = 100; -void check_opt(int argc, char **argv, int n_opt, int n, char *help) { +void check_opt(int argc, char **argv, int n_opt, int n, const char *help) { if(n_opt+n >= argc) { cerr << "Missing argument for " << argv[n_opt] << ".\n"; cerr << "Expecting " << help << ".\n"; diff --git a/create_samples.cc b/create_samples.cc index 7a61edf..84ca64f 100644 --- a/create_samples.cc +++ b/create_samples.cc @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/fastentropy.cc b/fastentropy.cc index d23a7cf..6e2ecf0 100644 --- a/fastentropy.cc +++ b/fastentropy.cc @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/fastentropy.h b/fastentropy.h index af4914c..360507a 100644 --- a/fastentropy.h +++ b/fastentropy.h @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/misc.cc b/misc.cc index 541503b..8d2856b 100644 --- a/misc.cc +++ b/misc.cc @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/misc.h b/misc.h index f9297e9..f58b2b6 100644 --- a/misc.h +++ b/misc.h @@ -13,7 +13,7 @@ // along with this program. If not, see . // // // // Written by Francois Fleuret // -// (C) Ecole Polytechnique Federale de Lausanne // +// Copyright (C) Ecole Polytechnique Federale de Lausanne // // Contact for comments & bug reports // ////////////////////////////////////////////////////////////////////////////////// diff --git a/test.sh b/test.sh index 727defe..f5ccff5 100755 --- a/test.sh +++ b/test.sh @@ -14,7 +14,7 @@ # along with this program. If not, see . # # # # Written by Francois Fleuret # -# (C) Ecole Polytechnique Federale de Lausanne # +# Copyright (C) Ecole Polytechnique Federale de Lausanne # # Contact for comments & bug reports # ################################################################################