Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
doc fix (renaming objective func)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukovnikov committed Apr 21, 2016
1 parent e1bd8a5 commit f35e6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run(
block = Dummy(indim=vocabsize, dim=innerdim, outdim=dim)

block.train([data], labels).adagrad(lr=lr).neg_log_prob()\
.split_validate(5, random=True).neg_log_prob().accuracy().autosave\
.split_validate(5, random=True).cross_entropy().accuracy().autosave\
.train(numbats=numbats, epochs=epochs)

if __name__ == "__main__":
Expand All @@ -87,4 +87,4 @@ In fact, you probably won't need to create any variables at all.

## Lazy parameter initialization
(based on the shape of input data)
TODO
TODO: implement and document

0 comments on commit f35e6cc

Please sign in to comment.