Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
koki0702 committed Jun 26, 2018
1 parent 3efb9ca commit 0351d21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ch01/train.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# coding: utf-8
import sys
sys.path.append('..') # 親ディレクトリのファイルをインポートするための設定
import numpy as np
from common.optimizer import SGD
from common.trainer import Trainer
from dataset import spiral
import matplotlib.pyplot as plt
from two_layer_net import TwoLayerNet


Expand All @@ -20,5 +18,5 @@
optimizer = SGD(lr=learning_rate)

trainer = Trainer(model, optimizer)
trainer.fit(x, t, max_epoch=max_epoch, batch_size=batch_size, eval_interval=10)
trainer.fit(x, t, max_epoch, batch_size, eval_interval=10)
trainer.plot()

0 comments on commit 0351d21

Please sign in to comment.