From e7ac6e6951032b7db404230b133dd11cb4d2980a Mon Sep 17 00:00:00 2001 From: rluna Date: Sat, 12 Jan 2019 21:09:46 +0100 Subject: [PATCH] fixed a typo in mpl.h and an omitted include in Sample.h --- src/MLP.h | 2 +- src/Sample.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MLP.h b/src/MLP.h index 551f0fe..c9e69a3 100644 --- a/src/MLP.h +++ b/src/MLP.h @@ -19,7 +19,7 @@ class MLP { public: - //desired call sintax : MLP({64*64,20,4}, {"sigmoid", "linear"}, + //desired call syntax : MLP({64*64,20,4}, {"sigmoid", "linear"}, MLP(const std::vector & layers_nodes, const std::vector & layers_activfuncs, bool use_constant_weight_init = false, diff --git a/src/Sample.h b/src/Sample.h index 449f068..4dfeebb 100644 --- a/src/Sample.h +++ b/src/Sample.h @@ -5,6 +5,7 @@ #ifndef TRAININGSAMPLE_H #define TRAININGSAMPLE_H +#include #include #include