From 18374589571a45be98f1ba107946dbdf01858084 Mon Sep 17 00:00:00 2001 From: fchollet Date: Wed, 6 May 2015 20:14:36 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- keras/optimizers.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c8b36e531..9d7c2ccd0 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Keras is compatible with __Python 2.7-3.4__. - __Minimalism.__ Each module should be kept short and simple (<100 lines of code). Every piece of code should be transparent upon first reading. No black magic: it hurts iteration speed and ability to innovate. -- __Easy extensibility.__ A new feature (a new module, per the above definition, or a new way to combine modules together) are dead simple to add (as new classes/functions), and existing modules provide ample examples. +- __Easy extensibility.__ New features (a new module, per the above definition, or a new way to combine modules together) are dead simple to add (as new classes/functions), and existing modules provide ample examples. - __Work with Python__. No separate models configuration files in a declarative format (like in Caffe or PyLearn2). Models are described in Python code, which is compact, easier to debug, benefits from syntax highlighting, and most of all, allows for ease of extensibility. See for yourself with the examples below. diff --git a/keras/optimizers.py b/keras/optimizers.py index c8d16f2f9..b4c22bd05 100644 --- a/keras/optimizers.py +++ b/keras/optimizers.py @@ -15,6 +15,7 @@ def kl_divergence(p, p_hat): return p_hat - p + p*T.log(p/p_hat) class Optimizer(object): + def get_updates(self, params, grads): raise NotImplementedError