From 3b528baf461f43c0f9b69f94eed005dfbba3972e Mon Sep 17 00:00:00 2001 From: nzw Date: Sat, 15 Apr 2017 21:05:58 +0900 Subject: [PATCH] Fix README for keras 2 (#70) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd9e421..4ababed 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ model.add(PELU()) # Compile and fit on random data model.compile(loss='mse', optimizer='adam') -model.fit(x=np.random.random((100, 10)), y=np.random.random((100, 100)), nb_epoch=5, verbose=0) +model.fit(x=np.random.random((100, 10)), y=np.random.random((100, 100)), epochs=5, verbose=0) # Save our model model.save('example.h5')