Added get_target_space() to model base class
Added binary_target and target_dim as inputs to softmax, added _target_space as datamember
Changed Softmax cost to use indexing instead of multiplication if the target space is an IndexSpace
Changed DefaultDatasetMixIn to call get_target_space
Actually added target_dim as input
Imported IndexSpace
Added a missing self.
Added get_target_space to mlp and Composite layer
Changed get_monitor_dataspecs to use target_space, fixed softmax cost to use gpu
Softmax cost is now fixed to account for multidimensional targets
Merged from LISA Labo
Updated get_target_space docstring, cleaned up softmax cost, added binarytargetdim to languagemodel
Changed default value of dinary_target_dim to None from False
Uncommented input in languange_model
Removed trailing whitespace, reduced length of a docstring, split long line of code accross multiple lines
Removed a trailing whitespace
Factored ou the cost code for softmax
Updated cost_matrix to be optimized for indexspaces
Forgot the return statement
Fixed some nits, still slower than original