Added #include <unistd.h> for nice().
[mlp.git] / images.h
index 71e0440..572a149 100644 (file)
--- a/images.h
+++ b/images.h
@@ -1,8 +1,10 @@
 /*
  *  mlp-mnist is an implementation of a multi-layer neural network.
  *
- *  Copyright (c) 2008 Idiap Research Institute, http://www.idiap.ch/
- *  Written by Francois Fleuret <francois.fleuret@idiap.ch>
+ *  Copyright (c) 2006 École Polytechnique Fédérale de Lausanne,
+ *  http://www.epfl.ch
+ *
+ *  Written by Francois Fleuret <francois@fleuret.org>
  *
  *  This file is part of mlp-mnist.
  *
@@ -31,8 +33,6 @@
 
 using namespace std;
 
-#include "features.h"
-
 class PixelMaps {
 public:
   unsigned int _nb_ref;
@@ -68,7 +68,7 @@ public:
 
   void load_mnist_format(char *picture_file_name, char *label_file_name);
 
-  void extract_unused_pictures(ImageSet &is, int nb);
+  void sample_among_unused_pictures(ImageSet &is, int nb);
 
 };