EX2 逻辑回归练习 假设你是一个大学某系的管理员,你想根据两项考试结果来确定每个申请人的录取机会.你有以前申请人的历史资料以作为逻辑回归的训练集.对于每一个训练集,你拥有每个申请人的两项考试的分数与最终录取与否的信息. 绘出数据散点图 figure; hold on; %Find indices of postive and negative examples pos = find(y==1); neg = find(y==0); plot(X(pos,1),X(pos,2),'k+','…