# Hopfield.nsl nsl set system.model HopfieldModel nsl set system.trainEpochSteps 1 nsl set system.trainDelta 1 nsl set system.trainEndTime 1 nsl set system.simDelta 1 nsl set system.simEndTime -1 nsl create window_interface nsl create display_frame .hopfield nsl create display_window .hopfield.pat -width 250 -height 200 -graph area_level_graph \ -side left -layer HopfieldModel.in.out -wymin -1 -wymax 1 -grid NSL_ON nsl create display_window .hopfield.mf -width 250 -height 200 -graph area_level_graph \ -side left -layer HopfieldModel.hopfield.mf -wymin -1 -wymax 1 -grid NSL_ON nsl create display_window .hopfield.pmf -width 250 -height 200 -graph area_level_graph \ -side left -layer HopfieldModel.hopfield.pmf -wymin -1 -wymax 1 -grid NSL_ON #nsl create display_frame .hopfield1 #nsl create display_window .hopfield2.error -width 250 -height 200 -graph temporal_graph \ # -layer HopfieldModel.hopfield.inOutError -t1 150 -wymin -1 -wymax 1 -grid NSL_ON #nsl create display_frame .hopfield2 #nsl create display_window .hopfield2.energy -width 450 -height 200 -graph temporal_graph \ # -layer HopfieldModel.hopfield.energy -t1 1000 -wymin -500000000 -wymax 1 -grid NSL_ON #nsl load HopfieldWeights #nsl delay nsl load HopfieldTrain #nsl load HopfieldRun