[mlpack-git] master: Build the activation functions. (9ca0d78)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Sat Aug 29 08:23:10 EDT 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/ea45ace1ff744390a4c35183528eda881eda5c61...fd336238de224ed72fc23b84e1e2f02ae3c879d6
>---------------------------------------------------------------
commit 9ca0d783ed6a72a01fb2733e8a42e865e3979451
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date: Fri Aug 14 16:43:57 2015 +0200
Build the activation functions.
>---------------------------------------------------------------
9ca0d783ed6a72a01fb2733e8a42e865e3979451
src/mlpack/methods/CMakeLists.txt | 1 +
.../methods/{perceptron/learning_policies => ann}/CMakeLists.txt | 3 ++-
.../{amf/init_rules => ann/activation_functions}/CMakeLists.txt | 8 +++++---
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/methods/CMakeLists.txt b/src/mlpack/methods/CMakeLists.txt
index 57b8475..e90adc0 100644
--- a/src/mlpack/methods/CMakeLists.txt
+++ b/src/mlpack/methods/CMakeLists.txt
@@ -2,6 +2,7 @@
set(DIRS
adaboost
amf
+ ann
cf
decision_stump
det
diff --git a/src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt b/src/mlpack/methods/ann/CMakeLists.txt
similarity index 91%
copy from src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt
copy to src/mlpack/methods/ann/CMakeLists.txt
index 119239d..8424f69 100644
--- a/src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt
+++ b/src/mlpack/methods/ann/CMakeLists.txt
@@ -1,7 +1,6 @@
# Define the files we need to compile
# Anything not in this list will not be compiled into MLPACK.
set(SOURCES
- simple_weight_update.hpp
)
# Add directory name to sources.
@@ -12,3 +11,5 @@ endforeach()
# Append sources (with directory name) to list of all MLPACK sources (used at
# the parent scope).
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
+
+add_subdirectory(activation_functions)
diff --git a/src/mlpack/methods/amf/init_rules/CMakeLists.txt b/src/mlpack/methods/ann/activation_functions/CMakeLists.txt
similarity index 78%
copy from src/mlpack/methods/amf/init_rules/CMakeLists.txt
copy to src/mlpack/methods/ann/activation_functions/CMakeLists.txt
index f8ff4b6..abe53c5 100644
--- a/src/mlpack/methods/amf/init_rules/CMakeLists.txt
+++ b/src/mlpack/methods/ann/activation_functions/CMakeLists.txt
@@ -1,9 +1,11 @@
# Define the files we need to compile
# Anything not in this list will not be compiled into MLPACK.
set(SOURCES
- random_init.hpp
- random_acol_init.hpp
- average_init.hpp
+ identity_function.hpp
+ logistic_function.hpp
+ softsign_function.hpp
+ tanh_function.hpp
+ rectifier_function.hpp
)
# Add directory name to sources.
More information about the mlpack-git
mailing list