質問編集履歴

1

誤字の修正

2020/07/15 05:48

投稿

co_shgci.k
co_shgci.k

スコア4

test CHANGED
File without changes
test CHANGED
@@ -122,8 +122,6 @@
122
122
 
123
123
 
124
124
 
125
- import matplotlib.pyplot as plt
126
-
127
125
 
128
126
 
129
127
  os.environ['PYTHONHASHSEED'] = '0'
@@ -242,42 +240,6 @@
242
240
 
243
241
 
244
242
 
245
- plt.plot(history.history["acc"], label="Training Acc")
246
-
247
- plt.plot(history.history["val_acc"], label="Validation Acc")
248
-
249
- plt.ylabel('Accuracy')
250
-
251
- plt.xlabel('Epoch')
252
-
253
- plt.grid()
254
-
255
- plt.legend(['Train', 'Validation'], loc='upper left')
256
-
257
- plt.savefig('acc.png')
258
-
259
- plt.figure()
260
-
261
-
262
-
263
- plt.plot(history.history["loss"], label="Training Loss")
264
-
265
- plt.plot(history.history["val_loss"], label="Validation Loss")
266
-
267
- plt.ylabel('Loss')
268
-
269
- plt.xlabel('Epoch')
270
-
271
- plt.grid()
272
-
273
- plt.legend(['Train', 'Validation'], loc='upper left')
274
-
275
- plt.savefig('loss.png')
276
-
277
-
278
-
279
- plt.show()
280
-
281
243
 
282
244
 
283
245
  ### 試したこと