I'm trying to break down a program line by line. Y is a matrix of data but I can't find any concrete data on what .shape[0] does exactly.
Y
.shape[0]
for i in range(Y.shape[0]): if Y[i] == -1:
This program uses numpy, scipy, matplotlib.pyplot, and cvxopt.