Week1 Neural network model Lab
When we are generating the dataset, I think there is 2 lines, which are redundant. which is…
pos = Y_train == 1
neg = Y_train == 0
X_train[pos]
and then next block is
pos = Y_train == 1
neg = Y_train == 0
fig,ax = plt.subplots(1,1,figsize=(4,3))
ax.scatter(X_train[pos], Y_train[pos], marker='x', s=80, c = 'red', label="y=1")
ax.scatter(X_train[neg], Y_train[neg], marker='o', s=100, label="y=0", facecolors='none',
edgecolors=dlc["dlblue"],lw=3)
which pos and neg setting is duplicates. Is there any repository that I can make edit and PR? I think it is a easy fix!