mirror of
https://github.com/BlackLight/neuralpp.git
synced 2025-01-04 06:55:11 +01:00
65 lines
2.7 KiB
TeX
65 lines
2.7 KiB
TeX
\section{neural++.hpp File Reference}
|
|
\label{neural_09_09_8hpp}\index{neural++.hpp@{neural++.hpp}}
|
|
{\tt \#include $<$vector$>$}\par
|
|
{\tt \#include $<$string$>$}\par
|
|
{\tt \#include $<$cmath$>$}\par
|
|
{\tt \#include \char`\"{}neural++\_\-exception.hpp\char`\"{}}\par
|
|
\subsection*{Namespaces}
|
|
\begin{CompactItemize}
|
|
\item
|
|
namespace {\bf neuralpp}
|
|
\item
|
|
namespace {\bf neuralpp::neuralutils}
|
|
\end{CompactItemize}
|
|
\subsection*{Classes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
class {\bf neuralpp::NeuralNet}
|
|
\begin{CompactList}\small\item\em Main project's class. \item\end{CompactList}\item
|
|
class {\bf neuralpp::Synapsis}
|
|
\begin{CompactList}\small\item\em Class for managing synapsis. \item\end{CompactList}\item
|
|
class {\bf neuralpp::Neuron}
|
|
\begin{CompactList}\small\item\em Class for managing neurons. \item\end{CompactList}\item
|
|
class {\bf neuralpp::Layer}
|
|
\begin{CompactList}\small\item\em Class for managing layers of neurons. \item\end{CompactList}\item
|
|
struct {\bf neuralpp::netrecord}
|
|
\item
|
|
struct {\bf neuralpp::neuronrecord}
|
|
\item
|
|
struct {\bf neuralpp::synrecord}
|
|
\end{CompactItemize}
|
|
\subsection*{Defines}
|
|
\begin{CompactItemize}
|
|
\item
|
|
\#define {\bf RAND}~(double) ( (rand() / 10.0) / ((double) RAND\_\-MAX) )
|
|
\item
|
|
\#define {\bf BETA0}~0.8
|
|
\end{CompactItemize}
|
|
\subsection*{Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
double {\bf neuralpp::df} (double($\ast$f)(double), double x)
|
|
\item
|
|
double {\bf neuralpp::\_\-\_\-actv} (double prop)
|
|
\item
|
|
std::vector$<$ double $>$ {\bf neuralpp::neuralutils::split} (char delim, std::string str)
|
|
\begin{CompactList}\small\item\em Split a string into a vector of doubles, given a delimitator. \item\end{CompactList}\item
|
|
std::vector$<$ std::string $>$ {\bf neuralpp::neuralutils::splitLines} (std::string str)
|
|
\begin{CompactList}\small\item\em Split the lines of a string. \item\end{CompactList}\item
|
|
void {\bf neuralpp::neuralutils::toLower} (std::string \&str)
|
|
\begin{CompactList}\small\item\em Convert the characters of a string to lower case. \item\end{CompactList}\item
|
|
void {\bf neuralpp::neuralutils::toUpper} (std::string \&str)
|
|
\begin{CompactList}\small\item\em Convert the characters of a string to upper case. \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Define Documentation}
|
|
\index{neural++.hpp@{neural++.hpp}!BETA0@{BETA0}}
|
|
\index{BETA0@{BETA0}!neural++.hpp@{neural++.hpp}}
|
|
\subsubsection[BETA0]{\setlength{\rightskip}{0pt plus 5cm}\#define BETA0~0.8}\label{neural_09_09_8hpp_05e2bb5b9fc32f0b6b4d84fe43177d72}
|
|
|
|
|
|
\index{neural++.hpp@{neural++.hpp}!RAND@{RAND}}
|
|
\index{RAND@{RAND}!neural++.hpp@{neural++.hpp}}
|
|
\subsubsection[RAND]{\setlength{\rightskip}{0pt plus 5cm}\#define RAND~(double) ( (rand() / 10.0) / ((double) RAND\_\-MAX) )}\label{neural_09_09_8hpp_839a9222721835f53c5b248241f535f4}
|
|
|
|
|