Update README.md

This commit is contained in:
fchollet 2015-05-06 20:14:36 -07:00
parent e97b873d9e
commit 1837458957
2 changed files with 2 additions and 1 deletions

@ -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.

@ -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