Make Your Own Neural Network by Rashid Tariq

Make Your Own Neural Network by Rashid Tariq

Author:Rashid, Tariq
Language: eng
Format: epub, azw3
Published: 2016-03-29T04:00:00+00:00


In the next cell, the following code.

a = numpy.zeros( [3,2] )

print(a)

This uses the imported numpy module to create an array of shape 3 by 2, with all the cells set to the value zero and assigns the whole thing to a variable named a. We then print a. We can see this array full of zeros in what looks like a table with 3 rows and 2 columns.

Now let’s modify the contents of this array and change some of those zeros to other values. The following code shows how you can refer to specific cells to overwrite them with new values. It’s just like referring to spreadsheet cells or street map grid references.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.