Added a comment about fe_init_tables.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 7 Sep 2010 11:08:25 +0000 (13:08 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 7 Sep 2010 11:08:25 +0000 (13:08 +0200)
fastentropy.h

index 360507a..5abd6fe 100644 (file)
@@ -66,7 +66,7 @@ inline int fe_count_and_not_not(int n, uint32_t *a, uint32_t *b) {
 
 // This selection maximises the conditional mutual information between
 // the features and the class to predict, given any feature already
-// picked
+// picked. Call fe_init_tables() beforehand.
 
 void fe_selection_cmim(int nb_samples,
                        int nb_total_features, uint32_t **x, uint32_t *y,
@@ -74,7 +74,7 @@ void fe_selection_cmim(int nb_samples,
 
 // This selection maximises the mutual information between the
 // features and the class to predict, without taking care of the
-// redundancy
+// redundancy. Call fe_init_tables() beforehand.
 
 void fe_selection_mim(int nb_samples,
                       int nb_total_features, uint32_t **x, uint32_t *y,