Skip to content

Commit

Permalink
renaming FFNN->QNets
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Apr 17, 2019
1 parent eb50442 commit d01aaf2
Show file tree
Hide file tree
Showing 129 changed files with 233 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.5)
include(FindPackageHandleStandardArgs)

project(ffnn LANGUAGES CXX VERSION 0.0.1)
project(qnets LANGUAGES CXX VERSION 0.0.1)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${USER_CXX_FLAGS}")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![CodeFactor](https://www.codefactor.io/repository/github/dcm-upb/feedforwardneuralnetwork/badge)](https://www.codefactor.io/repository/github/dcm-upb/feedforwardneuralnetwork)


# FeedForwardNeuralNetwork
# QNets

C++ Library for building and using Feed Forward Neural Networks.
C++ Library to easily build and use (Feed Forward) Neural Networks.
It includes first and second derivatives with respect to the input values, first derivatives with respect to the variational parameters
and mixed derivatives with respect to both input and variational parameters.

Expand Down
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include_directories(common/)
link_libraries(ffnn)
link_libraries(qnets)

add_executable(bench_actfs_derivs bench_actfs_derivs/main.cpp)
add_executable(bench_actfs_ffprop bench_actfs_ffprop/main.cpp)
Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_actfs_derivs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "ffnn/actf/ActivationFunctionManager.hpp"
#include "qnets/actf/ActivationFunctionManager.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
4 changes: 2 additions & 2 deletions benchmark/bench_actfs_ffprop/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include <iostream>
#include <random>

#include "ffnn/actf/ActivationFunctionManager.hpp"
#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/actf/ActivationFunctionManager.hpp"
#include "qnets/io/PrintUtilities.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_nunits_ffprop/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
2 changes: 1 addition & 1 deletion benchmark/common/FFNNBenchmarks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tuple>

#include "Timer.hpp"
#include "ffnn/net/FeedForwardNeuralNetwork.hpp"
#include "qnets/net/FeedForwardNeuralNetwork.hpp"

inline double benchmark_FFPropagate(FeedForwardNeuralNetwork * const ffnn, const double * const xdata, const int neval)
{
Expand Down
4 changes: 2 additions & 2 deletions doc/doxygen/doxygen.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = "FeedForwardNeuralNetwork"
PROJECT_NAME = "QNets"

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand Down Expand Up @@ -791,7 +791,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = "../../include/ffnn" \
INPUT = "../../include/qnets" \
"../../src" \
"doxygen_stl.cpp"

Expand Down
Binary file modified doc/user_manual.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions doc/user_manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
}


\title{The Feed Forward Neural Network library}
\title{The QNets ANN library}
\author{Francesco Calcavecchia}
\author{Jan Kessler}

\makeindex

Expand All @@ -56,7 +57,7 @@
\begin{document}
\maketitle

FFNN (Feed Forward Neural Network) is a C++ library which allows the implementation of a feed forward neural network with few simple calls.
QNets is a C++ library which allows the implementation of a feed forward neural network with few simple calls.
The library includes a training method, which currently utilizes GSL nonlinear
multifit routines (trust region based Levenberg-Marquardt) to achieve least
square fitting against target data. A data split into training, validation and
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
link_libraries(ffnn)
link_libraries(qnets)

add_executable(ex_basic.exe ex_basic/main.cpp)
add_executable(ex_beta.exe ex_beta/main.cpp)
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_actf/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


class MyActivationFunction: public ActivationFunctionInterface
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_basic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_beta/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_features/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "ffnn/train/NNTrainerGSL.hpp"
#include "qnets/train/NNTrainerGSL.hpp"


/*
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_fit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "ffnn/train/NNTrainerGSL.hpp"
#include "qnets/train/NNTrainerGSL.hpp"


/*
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_loadfile/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_plot/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_propagate/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_vderiv/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_xderiv/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "ffnn/io/PrintUtilities.hpp"
#include "qnets/io/PrintUtilities.hpp"


int main()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_ACTIVATIONFUNCTIONINTERFACE_HPP
#define FFNN_ACTF_ACTIVATIONFUNCTIONINTERFACE_HPP

#include "ffnn/serial/SerializableComponent.hpp"
#include "qnets/serial/SerializableComponent.hpp"

#include <cmath>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
#define FFNN_ACTF_ACTIVATIONFUNCTIONMANAGER_HPP


#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "ffnn/actf/ExponentialActivationFunction.hpp"
#include "ffnn/actf/GaussianActivationFunction.hpp"
#include "ffnn/actf/IdentityActivationFunction.hpp"
#include "ffnn/actf/LogisticActivationFunction.hpp"
#include "ffnn/actf/ReLUActivationFunction.hpp"
#include "ffnn/actf/SELUActivationFunction.hpp"
#include "ffnn/actf/SRLUActivationFunction.hpp"
#include "ffnn/actf/SineActivationFunction.hpp"
#include "ffnn/actf/TanSigmoidActivationFunction.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ExponentialActivationFunction.hpp"
#include "qnets/actf/GaussianActivationFunction.hpp"
#include "qnets/actf/IdentityActivationFunction.hpp"
#include "qnets/actf/LogisticActivationFunction.hpp"
#include "qnets/actf/ReLUActivationFunction.hpp"
#include "qnets/actf/SELUActivationFunction.hpp"
#include "qnets/actf/SRLUActivationFunction.hpp"
#include "qnets/actf/SineActivationFunction.hpp"
#include "qnets/actf/TanSigmoidActivationFunction.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_EXPONENTIALACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_EXPONENTIALACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>

class ExponentialActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_GAUSSIANACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_GAUSSIANACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define FFNN_ACTF_IDENTITYACTIVATIONFUNCTION_HPP


#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>

class IdentityActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_LOGISTICACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_LOGISTICACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>

class LogisticActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_RELUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_RELUACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SELUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SELUACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>

class SELUActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SRLUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SRLUACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>

// Smooth Rectified Linear Unit ( == ln(1+exp(x)) )
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SINEACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SINEACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_TANSIGMOIDACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_TANSIGMOIDACTIVATIONFUNCTION_HPP

#include "ffnn/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_FEED_FEEDERINTERFACE_HPP
#define FFNN_FEED_FEEDERINTERFACE_HPP

#include "ffnn/serial/SerializableComponent.hpp"
#include "qnets/serial/SerializableComponent.hpp"

#include <stdexcept>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions include/ffnn/feed/NNRay.hpp → include/qnets/feed/NNRay.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FEED_NNRAY_HPP
#define FFNN_FEED_NNRAY_HPP

#include "ffnn/feed/WeightedFeeder.hpp"
#include "ffnn/layer/NetworkLayer.hpp"
#include "qnets/feed/WeightedFeeder.hpp"
#include "qnets/layer/NetworkLayer.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef FFNN_FEED_SMARTBETAGENERATOR_HPP
#define FFNN_FEED_SMARTBETAGENERATOR_HPP

#include "ffnn/feed/FeederInterface.hpp"
#include "ffnn/feed/NNRay.hpp"
#include "ffnn/layer/FedLayer.hpp"
#include "ffnn/net/FeedForwardNeuralNetwork.hpp"
#include "qnets/feed/FeederInterface.hpp"
#include "qnets/feed/NNRay.hpp"
#include "qnets/layer/FedLayer.hpp"
#include "qnets/net/FeedForwardNeuralNetwork.hpp"


namespace smart_beta
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef FFNN_FEED_STATICFEEDER_HPP
#define FFNN_FEED_STATICFEEDER_HPP

#include "ffnn/feed/FeederInterface.hpp"
#include "ffnn/layer/NetworkLayer.hpp"
#include "ffnn/unit/NetworkUnit.hpp"
#include "qnets/feed/FeederInterface.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef FFNN_FEED_VARIABLEFEEDER_HPP
#define FFNN_FEED_VARIABLEFEEDER_HPP

#include "ffnn/feed/FeederInterface.hpp"
#include "ffnn/layer/NetworkLayer.hpp"
#include "ffnn/unit/NetworkUnit.hpp"
#include "qnets/feed/FeederInterface.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"

#include <string>
#include <vector>
Expand Down
Loading

0 comments on commit d01aaf2

Please sign in to comment.