pull/6782/head
LaurentBerger 8 years ago
parent 22682f933a
commit 62a87ce38c
  1. 8
      samples/cpp/neural_network.cpp

@ -16,13 +16,13 @@ int main()
{
if (i < data.rows/2)
{
data(i, 0) = 1;
data(i, 1) = 0;
responses(i, 0) = 1;
responses(i, 1) = 0;
}
else
{
data(i, 0) = 0;
data(i, 1) = 1;
responses(i, 0) = 0;
responses(i, 1) = 1;
}
}

Loading…
Cancel
Save