質問するログイン新規登録

回答編集履歴

1

画像追加

2018/09/22 13:16

投稿

opyon
opyon

スコア1009

answer CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  `np.array` 具体的な組み込み方は分かりませんが、これを使ってねってことかと。
4
4
 
5
+ ![イメージ説明](c05e7a043b7a3c1d16d5e0b953ff9718.png)
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: