Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Logistic Regression with a Neural Network mindset python example

# Example of a picture
index = 25
plt.imshow(train_set_x_orig[index])
print ("y = " + str(train_set_y[:, index]) + ", it's a '" + classes[np.squeeze(train_set_y[:, index])].decode("utf-8") +  "' picture.")
Source by datascience-enthusiast.com #
 
PREVIOUS NEXT
Tagged: #Logistic #Regression #Neural #Network #mindset #python
ADD COMMENT
Topic
Name
7+5 =