質問編集履歴

1

追記

2019/03/28 01:38

投稿

sequelanonymous
sequelanonymous

スコア123

test CHANGED
File without changes
test CHANGED
@@ -65,3 +65,39 @@
65
65
  return slope[0], intercept
66
66
 
67
67
  ```
68
+
69
+
70
+
71
+ ロジスティック回帰でfittingするデータ
72
+
73
+ ```
74
+
75
+ (Pdb) X_train
76
+
77
+ array([[-1.7],
78
+
79
+ [-0.7],
80
+
81
+ [ 2.8],
82
+
83
+ [ 2.8],
84
+
85
+ [ 1.9],
86
+
87
+ [-1.1],
88
+
89
+ [ 1.5],
90
+
91
+ [-1.7],
92
+
93
+ [ 0.8],
94
+
95
+ [-1.7],
96
+
97
+ [ 2.3]])
98
+
99
+ (Pdb) y_train
100
+
101
+ ['0', '0', '0', '1', '0', '1', '0', '0', '1', '0', '0']
102
+
103
+ ```