#!/bin/sh

# performance
echo "Performance Test..."
time spiral -d spiral.df -f 10000

# learn
echo ""
echo "Learn..."
time spiral -l -t 5000 194 0.4 -d spiral.df -s 100000 -I 4000000

if test ! -s Network.Finished
then
	cp Network.save Network.Finished
fi

#test
echo "Test..."
spiral Network.Finished -d spiral.df -E -P 0.49

Output < spiral1.data > spiral1.pdat
Output < spiral2.data > spiral2.pdat

gnuplot spiral.gnu



