這里直接二分類有點(diǎn)草率啦,因?yàn)楸旧眸S尾花數(shù)據(jù)集是存在有三個(gè)種類的花的數(shù)據(jù)分類的
2021-06-27
IndexError: boolean index did not match indexed array along dimension 0; dimension is 100 but corresponding boolean dimension is 101
數(shù)據(jù)文件(iris.data.csv):https://graph-bed-1256708472.cos.ap-chengdu.myqcloud.com/pythondata%2Firis.data.csv
2020-07-19
我運(yùn)行[In 5]那段代碼輸出
AttributeError:'Perceptron' object has no attribute 'w'
是怎么回事呀
AttributeError:'Perceptron' object has no attribute 'w'
是怎么回事呀
perceptron 那個(gè)函數(shù)是不是有點(diǎn)問(wèn)題