9fbf46803e4c179934b2631f7f3a52e122619e55,nn.py,userInterfaceHandler,renderNeuralNetVisualization,#userInterfaceHandler#,36

Before Change


		self.uiCanvas = np.zeros((self.canvasHeight,self.canvasWidth), dtype=np.uint8)
		
	def renderNeuralNetVisualization(self,nnPerceptrons):
		pprint(nnPerceptrons)

		perceptronYstart = 20
		perceptronRadius = 10
		perceptronX = 100

After Change


		for perceptronLayer in range(0,len(nnPerceptrons)):
			
			lengthOfLayer = len(nnPerceptrons[perceptronLayer])
			if(perceptronLayer==0 and exampleInputLimitCount > 0 and exampleInputLimitCount < lengthOfLayer):
				lengthOfLayer = exampleInputLimitCount
			for singlePerceptron in range(0,lengthOfLayer):

				cv2.circle(self.uiCanvas, (perceptronX,perceptronY), perceptronRadius, (255), 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: casparwylie/Perceptron
Commit Name: 9fbf46803e4c179934b2631f7f3a52e122619e55
Time: 2016-11-23
Author: casparwylie@Caspars-iMac.default
File Name: nn.py
Class Name: userInterfaceHandler
Method Name: renderNeuralNetVisualization


Project Name: fperazzi/proSR
Commit Name: 3176941b5e9f96fd98e28b164f118bbe6ace6496
Time: 2018-08-07
Author: fperazzi@adobe.com
File Name: train.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: 2baae0a182c2d83cff4f6a2830ffdb3b077e0676
Time: 2019-04-29
Author: akkana@shallowsky.com
File Name: skyalignments.py
Class Name:
Method Name: