[mlpack-git] master: Remove unused header. (91ae106)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Sep 2 11:32:53 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/c5dbcc05fc3eacfe02b6652b901054734c25cdc1...91ae1062772a0f2bbca9a072769629c2d775ae64

>---------------------------------------------------------------

commit 91ae1062772a0f2bbca9a072769629c2d775ae64
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Wed Sep 2 17:32:46 2015 +0200

    Remove unused header.


>---------------------------------------------------------------

91ae1062772a0f2bbca9a072769629c2d775ae64
 src/mlpack/methods/ann/performance_functions/cee_function.hpp | 5 ++---
 src/mlpack/methods/ann/trainer/trainer.hpp                    | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/methods/ann/performance_functions/cee_function.hpp b/src/mlpack/methods/ann/performance_functions/cee_function.hpp
index f9fcc64..5832be1 100644
--- a/src/mlpack/methods/ann/performance_functions/cee_function.hpp
+++ b/src/mlpack/methods/ann/performance_functions/cee_function.hpp
@@ -9,9 +9,8 @@
 #define __MLPACK_METHODS_ANN_PERFORMANCE_FUNCTIONS_CEE_FUNCTION_HPP
 
 #include <mlpack/core.hpp>
-
+#include <mlpack/methods/ann/layer/linear_layer.hpp>
 #include <mlpack/methods/ann/layer/layer_traits.hpp>
-#include <mlpack/methods/ann/layer/neuron_layer.hpp>
 
 namespace mlpack {
 namespace ann /** Artificial Neural Network. */ {
@@ -25,7 +24,7 @@ namespace ann /** Artificial Neural Network. */ {
  * @tparam Layer The layer that is connected with the output layer.
  */
 template<
-    class Layer = NeuronLayer< >
+    class Layer = LinearLayer< >
 >
 class CrossEntropyErrorFunction
 {
diff --git a/src/mlpack/methods/ann/trainer/trainer.hpp b/src/mlpack/methods/ann/trainer/trainer.hpp
index 62b331e..3915e64 100644
--- a/src/mlpack/methods/ann/trainer/trainer.hpp
+++ b/src/mlpack/methods/ann/trainer/trainer.hpp
@@ -12,7 +12,6 @@
 
 #include <mlpack/methods/ann/network_traits.hpp>
 #include <mlpack/methods/ann/layer/layer_traits.hpp>
-#include <mlpack/methods/ann/layer/neuron_layer.hpp>
 
 namespace mlpack {
 namespace ann /** Artificial Neural Network. */ {



More information about the mlpack-git mailing list