回答編集履歴
1
修正
test
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
def to_polynominal_feature(x):
|
76
76
|
|
77
|
-
return np.column_stack([x ** 2, x ** 0]) # [
|
77
|
+
return np.column_stack([x ** 2, x ** 0]) # [x^2, 1]
|
78
78
|
|
79
79
|
|
80
80
|
|