質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
rec[i] = sklearn.linear_model.LogisticRegression(C=20, penalty='l1')
|
14
14
|
|
15
|
-
rec[i].fit(train_data, train_labels[:,i]) # label[:,0]が数字0のラベル、label[;,1]が数字1のラベルに対応
|
15
|
+
rec[i].fit(train_data, train_labels[:,i]) # train_label[:,0]が数字0のラベル、train_label[;,1]が数字1のラベルに対応
|
16
16
|
|
17
17
|
|
18
18
|
|