Skip to content
Snippets Groups Projects
Commit 9a4d3c0f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'marioskogias-master' into 'master'

[doc] Explain train data size

See merge request !6
parents 4241c715 07d9d81e
No related branches found
No related tags found
1 merge request!6[doc] Explain train data size
Pipeline #
...@@ -390,6 +390,9 @@ thrown.\n\ ...@@ -390,6 +390,9 @@ thrown.\n\
\n\ \n\
In BackProp, training is done in batches. You should set the batch\n\ In BackProp, training is done in batches. You should set the batch\n\
size properly at class initialization or use setBatchSize().\n\ size properly at class initialization or use setBatchSize().\n\
The number of rows in the input should be in accordance with the\n\
set batch size. If the batch size currently set is incompatible\n\
with the given data an exception is raised.\n\
\n\ \n\
.. note::\n\ .. note::\n\
\n\ \n\
......
...@@ -108,7 +108,8 @@ MLPs can be `trained` through backpropagation [2]_, which is a supervised ...@@ -108,7 +108,8 @@ MLPs can be `trained` through backpropagation [2]_, which is a supervised
learning technique. This training procedure requires a set of features with learning technique. This training procedure requires a set of features with
labels (or targets). Using |project|, this is passed to the `train()` method of labels (or targets). Using |project|, this is passed to the `train()` method of
available MLP trainers in two different 2D `NumPy`_ arrays, one for the input available MLP trainers in two different 2D `NumPy`_ arrays, one for the input
(features) and one for the output (targets). (features) and one for the output (targets). The number of rows in those two
2D arrays should be equal to the batch size set when creating the model.
.. doctest:: .. doctest::
:options: +NORMALIZE_WHITESPACE :options: +NORMALIZE_WHITESPACE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment