NNetCpp
Neural network implementation in C++
 All Classes Namespaces Functions Variables
NNetUtil.h
1 #ifndef NNET_UTIL_H
2 #define NNET_UTIL_H
3 
4 #include <vector>
5 
9 namespace NNetUtil{
20  double unitStep(double x);
21 
31  double sigmoid(double x);
32 
44  double squareError(const std::vector<double>& v1, const std::vector<double>& v2);
45 }
46 
47 #endif // NNET_UTIL_H
double unitStep(double x)
Definition: NNetUtil.cpp:5
double sigmoid(double x)
Definition: NNetUtil.cpp:14
double squareError(const std::vector< double > &v1, const std::vector< double > &v2)
Definition: NNetUtil.cpp:18