我试图逐行分解一个程序.Y是一个数据矩阵,但我找不到任何.shape[0]确切的具体数据.
Y
.shape[0]
for i in range(Y.shape[0]): if Y[i] == -1:
该程序使用numpy,scipy,matplotlib.pyplot和cvxopt.
python numpy matplotlib scipy
matplotlib ×1
numpy ×1
python ×1
scipy ×1