#!/bin/sh

# performance (just go forward)
echo "Performance Test..."
time xor -d xor.df -f 10000

# learn
echo ""
echo "Learn..."
time xor -l -d xor.df -t 50 4 0.1 -s 100 -#
 
# test
echo ""
echo "Test..."
xor Network.Finished -d xor.df -E -P 0.5

# dump weights'n stuff
xor Network.Finished -AsciiDump

# Let's plot the weight evolution
xor < xor.cmd

# plot it with gnuplot3.0
echo This may not work if you do not have gnuplot 3.0
gnuplot xor.gnu

