Comments, I think mostly covered by AB, but I look at it from scratch.
1] There are 2 hidden layers in second case - no issue.
2] The data created is just appended to the text file as a continuous string of 1s and 0s - no way to know what is input or output.
000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111
3] No point in repeating the same training data 100 times, epochs in the training will handle this - all traing data provided should be independently created - for this very simple test case, there are only 4 possible cases for the OR operation (C = A or B).
4] To use binary input data, the ascii input needs to be converted to binary, see command NeuralNetwork.ConvertFile(asciiFile, binaryFile, "False").
5] To re-use a training, you should save it AFTER the training is complete, not before.
Assuming you are using most recent SmallBasicANN - I did make a few changes a while ago to generalise things a bit.
Your code modified, FPNQ191.000-3
And if you update SmallBasicANN to version 1.2.0.7 (using Extension Manager) you can use other deliminators when converting text to binary. With a lot of training data it is quicker to append to the file as training data is created rather than create one large data string, VFWP848.000
1] There are 2 hidden layers in second case - no issue.
2] The data created is just appended to the text file as a continuous string of 1s and 0s - no way to know what is input or output.
000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111000101011111
3] No point in repeating the same training data 100 times, epochs in the training will handle this - all traing data provided should be independently created - for this very simple test case, there are only 4 possible cases for the OR operation (C = A or B).
4] To use binary input data, the ascii input needs to be converted to binary, see command NeuralNetwork.ConvertFile(asciiFile, binaryFile, "False").
5] To re-use a training, you should save it AFTER the training is complete, not before.
Assuming you are using most recent SmallBasicANN - I did make a few changes a while ago to generalise things a bit.
Your code modified, FPNQ191.000-3
And if you update SmallBasicANN to version 1.2.0.7 (using Extension Manager) you can use other deliminators when converting text to binary. With a lot of training data it is quicker to append to the file as training data is created rather than create one large data string, VFWP848.000