UserPreferences

VisSweepEx.py


  1 
  2 
  3 
  4 
  5 
  6 
  7 
  8 
  9 
 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 

#VisSweepEx.py

from pyrobot.brain.conx import *

myNet = VSRN()
myNet.addLayers(3,3,3)
myNet.add(Layer('assocInput',3))
myNet.connect('hidden', 'assocInput')
myNet.associate('input', 'assocInput')
myNet.predict('input', 'output')
myNet.setInputs([[1,0,0, 0,1,0, 0,0,1, 0,0,1, 0,1,0, 1,0,0]])
myNet.setSequenceType("random-continuous")
myNet.setEpsilon(0.1)
myNet.setMomentum(0.3)
myNet.setBatch(1)
myNet.setTolerance(0.1)
myNet.setStopPercent(0.7)