« | メイン | python メソッド一覧 method »
2022年06月16日
np.where 複数条件
np.where(( (y_test == 5) | (y_test == 2)), 1, 0)
1,カッコが無いと動かない
2,orではなく|
投稿者 muuming : 2022年06月16日 06:07
« | メイン | python メソッド一覧 method »
np.where(( (y_test == 5) | (y_test == 2)), 1, 0)
1,カッコが無いと動かない
2,orではなく|
投稿者 muuming : 2022年06月16日 06:07