Skip to content

Version 0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@lmjohns3 lmjohns3 released this 10 Feb 22:10
· 682 commits to master since this release

Version 0.5.0 of theanets is now live!

pip install -U theanets

http://pypi.python.org/pypi/theanets
http://theanets.readthedocs.org
http://github.com/lmjohns3/theanets

Some great new features have been incorporated into this release, but
the biggest one is that Layers have been refactored into first-class
citizens. It's much easier to specify model layers, and many different
types of recurrent layers are now available.
http://theanets.readthedocs.org/en/stable/creating.html#specifying-layers

I've also tried to improve the speed of the models and trainers, and I
have some ideas that I'll be incorporating into future releases in
this area.

I've tried to get the documentation into better shape. It still needs
some work, but it's a bit better than it has been.

This release also includes code from 4 first-time contributors!

Please note that this version makes several backwards-incompatible
changes that I think will be a net improvement, at the cost of
potentially breaking some of your existing training scripts. Most
notably:

  • The code relies on a new release of the climate package. Be sure to
    install using "pip install -U theanets" to get the most recent
    dependencies.
  • The Experiment.itertrain() method now generates two dictionaries
    of monitor values: one for training, and one for validation.
    http://theanets.readthedocs.org/en/stable/training.html#training-as-iteration
  • A Network now has a find() method for retrieving shared variables
    (e.g., weight matrices); the get_weights() method has been removed.
  • Trainer.train() has been renamed Trainer.itertrain(), and the
    SGD-based trainers have been refactored a bit, so now there is no
    longer an SGD.train_minibatch() method.

I hope the library will be really useful! Please file bugs, post on
the mailing list, etc. as you run into questions or issues.