Module Import alias alias alias alias alias alias alias alias Import alias ImportFrom alias Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Assign NameStore ListLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Dict Str Num Dict Dict Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body Expr Str Import alias alias alias FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Str Str attr Str Str attr Str Str TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword TupleLoad Str Str handlers ExceptHandler type NameLoad body Print Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad attr Str Str attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Print BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str BinOpMod Str Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Dict Str Str Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad orelse TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Str Str attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Raise ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Raise decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad Num Num NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Num Dict body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return If CompareIsNot NameLoad NameLoad body If CompareIs Call NameLoad NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Assign NameStore NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad NameLoad BinOpAdd BinOpDiv Call NameLoad NameLoad NameLoad Num For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Num orelse Raise Call NameLoad BinOpMod Str NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index BinOpMod Str AttributeLoad NameLoad attr Call NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass Expr Call NameLoad NameLoad Str NameLoad Expr Call NameLoad NameLoad Str NameLoad Expr Call NameLoad NameLoad Str NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Dict For NameStore NameLoad body Assign SubscriptStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index AttributeLoad NameLoad attr Str While NameLoad body For NameStore ListLoad Str Str Str body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore BinOpDiv BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr TupleLoad TupleLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass AugAssignAdd SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore ListLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad orelse For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index Num decorator_list decorator_list
N/A N/A cPickle time sys os traceback types json signal N/A numpy collections OrderedDict N/A theano.tensor tt N/A Mariana.network MNET N/A Mariana.training.recorders MREC N/A Mariana.training.stopcriteria MSTOP N/A Mariana.candies MCAN N/A Mariana.settings MSET N/A __all__ N/A Trainer_ABC DefaultTrainer Trainer_ABC N/A object N/A N/A This is the general interface of trainer __init__ N/A N/A self N/A N/A N/A 
		The store is initialised to::

			self.store = {
				"runInfos" : {
					"epoch" : 0,
				},
				"scores" : {},
				"hyperParameters" : {},
				"setSizes" : {},
			}

		 N/A N/A self store N/A runInfos scores hyperParameters setSizes N/A epoch 0 N/A N/A N/A N/A start N/A N/A self runName model recorder N/A args kwargs N/A N/A Starts the training and encapsulates it into a safe environement.
		If the training stops because of an Exception or SIGTEM, the trainer
		will save logs, the store, and the last version of the model.
		 N/A simplejson signal cPickle _handler_sig_term N/A N/A sig frame N/A N/A N/A N/A _dieGracefully SIGTERM None N/A N/A N/A sys exit sig N/A _dieGracefully N/A N/A exType tb N/A None N/A N/A N/A N/A type exType N/A types StringType N/A N/A exName exType N/A N/A exName N/A exType __name__ N/A death_time N/A N/A N/A N/A time ctime replace _ N/A filename N/A N/A N/A N/A N/A dx-xb_ runName _death_by_ exName _ death_time N/A N/A N/A N/A sys stderr write N/A 
===
Dying gracefully from %s, and saving myself to:
...%s
===
 N/A exName filename N/A N/A N/A model saveParameters filename N/A f N/A open N/A filename .traceback.log w N/A N/A N/A f write Mariana training Interruption
=============================
 N/A N/A N/A f write 
Details
-------
 N/A N/A N/A f write N/A Name: %s
 runName N/A N/A N/A f write N/A pid: %s
 N/A N/A os getpid N/A N/A N/A f write N/A Killed by: %s
 N/A str exType N/A N/A N/A f write N/A Time of death: %s
 death_time N/A N/A N/A f write N/A Model saved to: %s
 filename N/A sstore N/A N/A N/A N/A N/A N/A N/A str N/A self store replace ' " replace True true replace False false N/A N/A N/A N/A N/A f write N/A store:
%s N/A N/A json dumps N/A N/A json loads sstore sort_keys True indent 4 separators N/A , :  N/A N/A N/A ValueError N/A N/A invalid json sstore N/A N/A tb None N/A N/A N/A N/A f write 
Traceback
---------
 N/A N/A N/A f write N/A N/A N/A N/A N/A N/A N/A str N/A N/A traceback extract_tb tb replace ), ( ),
( replace [( [
( replace )] )
] N/A N/A N/A f flush N/A N/A N/A f close N/A f N/A open N/A filename .store.pkl wb N/A N/A N/A cPickle dump N/A self store f N/A N/A N/A f close N/A N/A N/A N/A signal signal N/A signal SIGTERM _handler_sig_term N/A N/A MSET VERBOSE N/A N/A N/A Training starts. N/A N/A N/A MCAN friendly Process id N/A The pid of this run is: %d N/A N/A os getpid N/A N/A recorder default N/A N/A params N/A printRate writeRate 1 1 N/A recorder N/A N/A MREC GGPlot2 runName params N/A N/A N/A MCAN friendly Default recorder N/A The trainer will recruit the default 'GGPlot2' recorder with the following arguments:
	 %s.
Results will be saved into '%s'. N/A params N/A recorder filename N/A N/A N/A self saveIfMurdered N/A N/A N/A N/A self run runName model recorder args kwargs N/A N/A N/A N/A N/A N/A self run runName model recorder args kwargs N/A N/A N/A N/A MSTOP EndOfTraining N/A e N/A N/A N/A e message N/A death_time N/A N/A N/A N/A time ctime replace _ N/A filename N/A N/A N/A finished_ runName _ death_time N/A f N/A open N/A filename .stopreason.txt w N/A N/A N/A f write N/A Name: %s
 runName N/A N/A N/A f write N/A pid: %s
 N/A N/A os getpid N/A N/A N/A f write N/A Time of death: %s
 death_time N/A N/A N/A f write N/A Epoch of death: %s
 N/A N/A N/A self store N/A runInfos N/A epoch N/A N/A N/A f write N/A Stopped by: %s
 N/A N/A e stopCriterion name N/A N/A N/A f write N/A Reason: %s
 N/A e message N/A sstore N/A N/A N/A N/A N/A N/A N/A str N/A self store replace ' " replace True true replace False false N/A N/A N/A f write N/A store:
%s N/A N/A json dumps N/A N/A json loads sstore sort_keys True indent 4 separators N/A , :  N/A N/A N/A f flush N/A N/A N/A f close N/A N/A N/A model save filename N/A f N/A open N/A filename .store.pkl wb N/A N/A N/A cPickle dump N/A self store f N/A N/A N/A f close N/A N/A KeyboardInterrupt N/A N/A N/A exType ex tb N/A N/A sys exc_info N/A N/A _dieGracefully exType tb N/A N/A N/A N/A N/A exType ex tb N/A N/A sys exc_info N/A N/A _dieGracefully exType tb N/A N/A run N/A N/A self N/A args kwargs N/A N/A Abtract function must be implemented in child. This function should implement the whole training process N/A N/A NotImplemented Must be implemented in child N/A N/A DefaultTrainer N/A Trainer_ABC N/A N/A The default trainer should serve for most purposes N/A SEQUENTIAL_TRAINING 0 N/A SIMULTANEOUS_TRAINING 1 N/A RANDOM_PICK_TRAINING 2 N/A ALL_SET -1 __init__ N/A N/A self trainMaps testMaps validationMaps trainMiniBatchSize stopCriteria testMiniBatchSize validationMiniBatchSize saveIfMurdered N/A N/A -1 -1 True N/A N/A 
			:param DatasetMaps trainMaps: Layer mappings for the training set
			:param DatasetMaps testtrainMaps: Layer mappings for the testing set
			:param DatasetMaps validationMaps: Layer mappings for the validation set, if you do not wich to set one, pass None as argument
			:param int trainMiniBatchSize: The size of a training minibatch, use DefaultTrainer.ALL_SET for the whole set
			:param list stopCriteria: List of StopCriterion objects 
			:param int testMiniBatchSize: The size of a testing minibatch, use DefaultTrainer.ALL_SET for the whole set
			:param int validationMiniBatchSize: The size of a validationMiniBatchSize minibatch
			:param bool saveIfMurdered: Die gracefully in case of Exception or SIGTERM and save the current state of the model and logs
		 N/A N/A N/A Trainer_ABC __init__ self N/A N/A self maps N/A train test trainMaps testMaps N/A N/A validationMaps None N/A N/A N/A N/A self maps N/A validation validationMaps N/A N/A self miniBatchSizes N/A train test validation trainMiniBatchSize testMiniBatchSize validationMiniBatchSize N/A N/A self stopCriteria stopCriteria N/A N/A self saveIfMurdered saveIfMurdered N/A N/A self trainingOrdersHR N/A N/A self SIMULTANEOUS_TRAINING N/A self SEQUENTIAL_TRAINING N/A self RANDOM_PICK_TRAINING SIMULTANEOUS SEQUENTIAL RANDOM_PICK N/A start N/A N/A self runName model recorder trainingOrder moreHyperParameters N/A default 0 N/A N/A N/A starts the training, cf. run() for the a description of the arguments N/A N/A N/A Trainer_ABC start self runName model recorder trainingOrder moreHyperParameters N/A run N/A N/A self name model recorder trainingOrder moreHyperParameters N/A N/A N/A 
			:param str runName: The name of this run
			:param Recorder recorder: A recorder object
			:param int trainingOrder:
				* DefaultTrainer.SEQUENTIAL_TRAINING: Each output will be trained indipendetly on it's own epoch
				* DefaultTrainer.SIMULTANEOUS_TRAINING: All outputs are trained within the same epoch with the same inputs
				* Both are in O(m*n), where m is the number of mini batches and n the number of outputs
				* DefaultTrainer.RANDOM_PICK_TRAINING: Will pick one of the outputs at random for each example

			:param bool reset: Should the trainer be reset before starting the run
			:param dict moreHyperParameters: If provided, the fields in this dictionary will be included into the log .csv file
		 setHPs N/A N/A layer thing dct N/A N/A N/A N/A N/A thingObj N/A getattr l thing N/A N/A N/A AttributeError N/A N/A N/A N/A thingObj None N/A N/A N/A N/A type thingObj N/A types ListType N/A N/A obj thingObj N/A N/A N/A N/A len N/A obj hyperParameters 0 N/A N/A N/A dct N/A N/A %s_%s_%s N/A N/A l name thing N/A obj name 1 N/A N/A hp N/A obj hyperParameters N/A N/A N/A dct N/A N/A %s_%s_%s_%s N/A N/A l name thing N/A obj name hp N/A getattr obj hp N/A N/A N/A N/A len N/A thingObj hyperParameters 0 N/A N/A N/A dct N/A N/A %s_%s N/A N/A l name N/A thingObj name 1 N/A N/A hp N/A thingObj hyperParameters N/A N/A N/A dct N/A N/A %s_%s N/A N/A l name hp N/A getattr thingObj hp N/A _trainTest N/A N/A aMap modelFct trainingOrder miniBatchSize inputLayers outputLayers N/A N/A N/A scores N/A N/A layerList inputLayers N/A N/A miniBatchSize N/A DefaultTrainer ALL_SET N/A N/A output outputLayers N/A N/A N/A N/A layerList append output N/A kwargs N/A dict N/A N/A aMap getAll layerList layerList N/A res N/A modelFct output kwargs N/A N/A scores N/A N/A output name N/A res N/A 0 N/A N/A N/A layerList pop -1 N/A N/A N/A trainingOrder N/A DefaultTrainer SEQUENTIAL_TRAINING N/A N/A output outputLayers N/A N/A i N/A xrange 0 N/A len aMap miniBatchSize N/A N/A N/A N/A layerList append output N/A batchData N/A N/A aMap getBatch i miniBatchSize layerList layerList N/A res N/A modelFct output batchData N/A N/A N/A N/A N/A N/A scores N/A N/A output name append N/A res N/A 0 N/A N/A N/A KeyError N/A N/A N/A scores N/A N/A output name N/A N/A res N/A 0 N/A N/A N/A layerList pop -1 N/A N/A N/A trainingOrder N/A DefaultTrainer SIMULTANEOUS_TRAINING N/A N/A i N/A xrange 0 N/A len aMap miniBatchSize N/A N/A batchData N/A N/A aMap getBatch i miniBatchSize layerList layerList N/A output outputLayers N/A N/A N/A N/A layerList append output N/A res N/A modelFct output batchData N/A N/A N/A N/A N/A N/A scores N/A N/A output name append N/A res N/A 0 N/A N/A N/A KeyError N/A N/A N/A scores N/A N/A output name N/A N/A res N/A 0 N/A N/A N/A layerList pop -1 N/A N/A N/A trainingOrder N/A DefaultTrainer RANDOM_PICK_TRAINING N/A N/A outputOrder N/A list N/A N/A N/A numpy random randint 0 N/A len outputLayers N/A N/A N/A len aMap miniBatchSize 1 N/A i N/A xrange 0 N/A len aMap miniBatchSize N/A N/A output N/A outputLayers N/A N/A N/A outputOrder pop N/A N/A N/A layerList append output N/A batchData N/A N/A aMap getBatch i miniBatchSize layerList layerList N/A res N/A modelFct output batchData N/A N/A N/A N/A N/A N/A scores N/A N/A output name append N/A res N/A 0 N/A N/A N/A KeyError N/A N/A N/A scores N/A N/A output name N/A N/A res N/A 0 N/A N/A N/A layerList pop -1 N/A N/A N/A ValueError N/A Unknown training order: %s trainingOrder N/A outputName scores N/A N/A N/A scores N/A outputName N/A N/A numpy mean N/A scores N/A outputName N/A N/A N/A len scores 1 N/A N/A N/A scores N/A average N/A N/A numpy mean N/A N/A scores values N/A scores N/A N/A N/A trainingOrder N/A self trainingOrdersHR N/A N/A N/A ValueError N/A Unknown training order: %s trainingOrder N/A legend N/A name epoch runtime(min) training_order N/A N/A N/A legend extend N/A N/A moreHyperParameters keys N/A hyperParameters N/A OrderedDict N/A l N/A N/A N/A model layers itervalues N/A N/A N/A hyperParameters N/A N/A %s_size N/A l name N/A len l N/A N/A N/A N/A hyperParameters N/A activation N/A N/A l activation __name__ N/A N/A N/A AttributeError N/A N/A N/A N/A setHPs l learningScenario hyperParameters N/A N/A setHPs l decorators hyperParameters N/A N/A setHPs l activation hyperParameters N/A N/A N/A l type N/A MNET TYPE_OUTPUT_LAYER N/A N/A N/A setHPs l costObject hyperParameters N/A N/A N/A legend extend N/A N/A hyperParameters keys N/A N/A N/A N/A N/A self store N/A hyperParameters update hyperParameters N/A N/A N/A N/A N/A self store N/A hyperParameters update moreHyperParameters N/A N/A N/A N/A self store N/A runInfos N/A name name N/A N/A N/A N/A self store N/A runInfos N/A training_order N/A N/A self trainingOrdersHR N/A trainingOrder N/A N/A N/A N/A self store N/A runInfos N/A pid N/A N/A os getpid N/A N/A self recorder recorder N/A startTime N/A N/A time time N/A N/A N/A N/A self store N/A runInfos N/A epoch 0 N/A inputLayers N/A N/A N/A model inputs values N/A outputLayers N/A N/A N/A model outputs values N/A mapName N/A self maps N/A N/A N/A N/A N/A self store N/A setSizes N/A mapName N/A N/A N/A N/A self maps N/A mapName getMinFullLength N/A N/A N/A N/A self store N/A scores N/A mapName N/A N/A o outputLayers N/A N/A N/A N/A N/A N/A self store N/A scores N/A mapName N/A N/A o name NA N/A True N/A N/A mapName N/A train test validation N/A N/A N/A N/A aMap N/A N/A self maps N/A mapName N/A N/A N/A len aMap 0 N/A N/A scores N/A N/A N/A N/A aMap commit N/A N/A mapName train N/A N/A modelFct N/A model train N/A N/A modelFct N/A model test N/A scores N/A _trainTest aMap modelFct trainingOrder N/A N/A self miniBatchSizes N/A mapName inputLayers outputLayers N/A N/A k v N/A N/A scores iteritems N/A N/A N/A N/A N/A N/A self store N/A scores N/A mapName N/A k v N/A N/A N/A KeyError N/A N/A N/A runtime N/A N/A N/A N/A time time startTime 60 N/A N/A N/A N/A N/A self store N/A runInfos update N/A N/A runtime_min runtime N/A N/A N/A N/A self recorder commit N/A self store model N/A crit N/A self stopCriteria N/A N/A N/A N/A crit stop self N/A N/A N/A N/A MSTOP EndOfTraining crit N/A l N/A N/A N/A model layers itervalues N/A N/A N/A N/A N/A N/A N/A l learningScenario update N/A self store N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A self store N/A runInfos N/A epoch 1 N/A runCustom N/A N/A self model outputName functionName dataMapName miniBatchSize N/A -1 N/A N/A Runs a given function, of a given model, applied to a given output using one of dataset maps of the trainer.
		In order for this function to work, 'model' must either be the model on wich the dataset maps have been defined, or have layers
		that have the same names as those of the model on wich the dataset maps have been defined. N/A modelFct N/A getattr model functionName N/A aMap N/A N/A self maps N/A dataMapName N/A layerList N/A outputName N/A l N/A N/A N/A model inputs itervalues N/A N/A N/A N/A layerList append N/A l name N/A N/A miniBatchSize N/A DefaultTrainer ALL_SET N/A N/A kwargs N/A dict N/A N/A aMap getAll layerList layerList N/A res N/A modelFct outputName kwargs N/A N/A i N/A xrange 0 N/A len aMap miniBatchSize N/A N/A batchData N/A N/A aMap getBatch i miniBatchSize layerList layerList N/A res N/A modelFct outputName batchData N/A N/A res N/A 0 N/A N/A