Neural Network library help

How do I make training data for an NN? Do I just make an array with inputs and outputs like this?

untitled script pic
or is this better?

untitled script pic (1)
please help!

For training you use a so-called “truth table”, a table with the expected output in the last column. Most data sets that you find online already are in that form, so you can simply go ahead and use them as they are.

Also, please check out the help screens in the library: