Merge pull request #6 from vinhkhuc/master

Various typo fixes
This commit is contained in:
fchollet 2015-03-28 19:27:29 -07:00
commit f885417466
3 changed files with 5 additions and 7 deletions

@ -11,7 +11,7 @@ Use Keras if you need a deep learning library that:
## Guiding principles
- __Modularity.__ A model is understood as a sequence of standalone, fully-configurable modules that can be plugged together with as little restrictions as possible. In particular, neural layers, cost functions, optimizers, initialization schemes, activation functions and dropout are all standlone modules that you can combine to create new models.
- __Modularity.__ A model is understood as a sequence of standalone, fully-configurable modules that can be plugged together with as little restrictions as possible. In particular, neural layers, cost functions, optimizers, initialization schemes, activation functions and dropout are all standalone modules that you can combine to create new models.
- __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.
@ -255,7 +255,7 @@ Keras uses the following dependencies:
## Why this name, Keras?
Keras (κέρας) means _horn_ in Greek. It is a reference to a literary image from ancient Greek and Latin literature, first found in the _Odyssee_, where dream spirits (_Oneiroi_, singular _Oneiros_) are divided between those who deceive men with false visions, who arrive to Earth through a gate of ivory, and those who anounce a future that will come to pass, who arrive through a gate of horn. It's a play on the words κέρας (horn) / κραίνω (fulfill), and ἐλέφας (ivory) / ἐλεφαίρομαι (deceive).
Keras (κέρας) means _horn_ in Greek. It is a reference to a literary image from ancient Greek and Latin literature, first found in the _Odyssee_, where dream spirits (_Oneiroi_, singular _Oneiros_) are divided between those who deceive men with false visions, who arrive to Earth through a gate of ivory, and those who announce a future that will come to pass, who arrive through a gate of horn. It's a play on the words κέρας (horn) / κραίνω (fulfill), and ἐλέφας (ivory) / ἐλεφαίρομαι (deceive).
Keras was developed as part of the research effort of project ONEIROS (Open-ended Neuro-Electronic Intelligent Robot Operating System).

@ -30,10 +30,8 @@ def get_file(fname, origin, untar=False):
progbar = None
if untar:
if os.path.exists(untar_fpath):
pass
else:
print 'Unraring file...'
if not os.path.exists(untar_fpath):
print 'Untaring file...'
tfile = tarfile.open(fpath, 'r:gz')
tfile.extractall(path=datadir)
tfile.close()

@ -33,7 +33,7 @@ class Sequential(object):
self.y_train = self.layers[-1].output(train=True)
self.y_test = self.layers[-1].output(train=False)
Y = T.matrix() # ouput of model
Y = T.matrix() # output of model
self.Y = Y
train_loss = self.loss(self.Y, self.y_train)