May 2018
Beginner
490 pages
13h 16m
English
The session has now taken the four XOR linearly non-separable (see Chapter 4, Become an Unconventional Innovator) predicates, that is, four possibilities, and computed a linearly separable solution:
The input of the output expected was the following:
XOR_Y = [[0],[1],[1],[0]]
One of the results obtained is the following:
Output [[ 0.01742549] [ 0.98353356] [ 0.98018438] [ 0.01550745]
The results are separable as described in Chapter 4, Become an Unconventional Innovator. If you plot the values, you can separate them with a line.
The results are displayed by printing the intermediate values as the session runs, as shown in the following code:
if epoch % 10000 == 0: print('Epoch ', epoch) print('Output ', sess.run(Output, ...Read now
Unlock full access