回答編集履歴
1
画像追加
answer
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
`np.array` 具体的な組み込み方は分かりませんが、これを使ってねってことかと。
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
> model.fit expects x and y to be numpy array. Seems like you pass a list, it tried to get shape of input by reading ndim attribute of numpy array and failed.
|
|
6
8
|
>
|
|
7
9
|
> You can simply transform it using np.array:
|