4c9bebf450569d0a1da22a0560343c45f7196fa3,examples/space_invaders.py,,,#,22

Before Change


		for m in network.monitors:
			network.monitors[m]._reset()
	
	if plot or env_plot:
		env.render()
	
	if i % 100 == 0:
		print("Iteration %d" % i)

	// Choose action based on readout neuron spiking.

After Change


			spike_ims, spike_axes = plot_spikes(spike_record)
			voltage_ims, voltage_axes = plot_voltages(voltage_record)
			
			g_fig = plt.figure()
			g_axes = g_fig.add_subplot(111)
			g_pic = g_axes.imshow(obs.numpy().reshape(74, 84), cmap="gray")

			w_fig, w_axes = plt.subplots(2, 1)
			
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: BindsNET/bindsnet
Commit Name: 4c9bebf450569d0a1da22a0560343c45f7196fa3
Time: 2018-05-01
Author: djsaunde@umass.edu
File Name: examples/space_invaders.py
Class Name:
Method Name:


Project Name: markovmodel/PyEMMA
Commit Name: a8b58ddc93d0a2dc0318a641762509a7932be227
Time: 2018-07-05
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/plots/networks.py
Class Name: NetworkPlot
Method Name: plot_network


Project Name: arviz-devs/arviz
Commit Name: 8a99fe2f7460e6ddbc6840f3754993c8cc17df88
Time: 2018-05-21
Author: aloctavodia@gmail.com
File Name: arviz/plots/autocorrplot.py
Class Name:
Method Name: autocorrplot