Fixed bug which occured when running the tests in datasets/tests/test_hdf5.py.
Made error message more descriptive. Added a few comments.
Fixed Pep8
Small fix to string.
Moved comment to location where it was more generally applicable.
Remove image_shape max pool argument.
Add travis_retry to pip install.
Add get_num_examples() method

So far, it is impossible to get the number of examples without getting a
matrix directly which is only possible on dense_design_matrix and
sparse_dataset with get_design_matrix() method.

This commit adds a method get_num_examples() which returns the number
of examples in the dataset. It also deprecates the attribute num_examples
of dense_design_matrix in favor of Dataset.get_num_examples().
Use new method Dataset.get_num_examples in SGD

Previous PR #733 broke sgd.py for datasets with no get_design_matrix()
method and for settings with no monitoring datasets.

This commit makes use of new method Dataset.get_num_examples to avoid
using DenseDesignMatrix specific methods and allows no monitoring
datasets.
Added get_num_examples to TransformerDataset

(Modified by DWF: Use Vincent's wraps from pylearn2.utils instead.)
Merge pull request #959 from nouiz/travis_retry

Add travis_retry to pip install.
Fix pep8 issues and remove test_sgd from white list
Maxout L1 weight decay: T.abs doesn't exist.
The correct name it T.abs_

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Merge pull request #971 from dwf/get_num_examples_squash

Rebase & squash of get_num_examples #880
Fixed typo in mlp_tutorial_part_4.yaml

Dimension of second hidden layer was fixed
print_monitor script is rewritten for import
Fixed CompositeLayer documentation
MaxoutConv: get_layer_monitoring_channels mixed state_below and state

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Added input_source attribute to MLP class to allow for multiple inputs
Updated VectorSpacesDataset