Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier FunctionDef arguments args defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad keyword ListLoad Call NameLoad keyword Str keyword Num keyword Num keyword Num orelse Assign NameStore Call NameLoad NameLoad Str keyword NameLoad Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num Num keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword Num keyword NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMult Num Num Assign NameStore Call NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore Call NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list
N/A N/A 
Tests for pylearn2.termination_criteria.__init__ functions and classes.
 pylearn2.termination_criteria EpochCounter pylearn2.datasets.dense_design_matrix DenseDesignMatrix pylearn2.models.mlp MLP Softmax pylearn2.monitor push_monitor pylearn2.train Train pylearn2.training_algorithms.sgd SGD N/A numpy np test_epoch_counter N/A N/A N/A N/A N/A 
    Test epoch counter with max_epochs={True,False}
     produce_train_obj N/A N/A new_epochs max_epochs model N/A None N/A N/A N/A model None N/A N/A model N/A MLP layers N/A N/A Softmax layer_name y n_classes 2 irange 0.0 nvis 3 N/A N/A model N/A push_monitor model old_monitor transfer_experience True N/A dataset N/A DenseDesignMatrix X N/A N/A N/A np random normal size N/A 6 3 y N/A N/A N/A np random normal size N/A 6 2 N/A epoch_counter N/A EpochCounter max_epochs max_epochs new_epochs new_epochs N/A algorithm N/A SGD batch_size 2 learning_rate 0.1 termination_criterion epoch_counter N/A N/A Train dataset dataset model model algorithm algorithm N/A test_epochs N/A N/A epochs_seen n N/A N/A N/A N/A epochs_seen n N/A %d epochs seen and should be %d N/A epochs_seen n N/A N/A train_obj N/A produce_train_obj new_epochs True max_epochs 5 N/A N/A N/A train_obj main_loop N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 5 N/A train_obj N/A produce_train_obj new_epochs True max_epochs 5 model N/A train_obj model N/A N/A N/A train_obj main_loop N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen N/A 2 5 N/A train_obj N/A produce_train_obj new_epochs False max_epochs 5 N/A N/A N/A train_obj main_loop N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 5 N/A train_obj N/A produce_train_obj new_epochs False max_epochs 5 model N/A train_obj model N/A N/A N/A train_obj main_loop N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 5 N/A train_obj N/A produce_train_obj new_epochs True max_epochs 0 N/A before_train N/A N/A N/A train_obj model get_weights N/A N/A N/A train_obj main_loop N/A after_train N/A N/A N/A train_obj model get_weights N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 0 N/A N/A N/A np all N/A before_train after_train N/A train_obj N/A produce_train_obj new_epochs True max_epochs 0 model N/A train_obj model N/A before_train N/A N/A N/A train_obj model get_weights N/A N/A N/A train_obj main_loop N/A after_train N/A N/A N/A train_obj model get_weights N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 0 N/A N/A N/A np all N/A before_train after_train N/A train_obj N/A produce_train_obj new_epochs False max_epochs 0 model N/A train_obj model N/A before_train N/A N/A N/A train_obj model get_weights N/A N/A N/A train_obj main_loop N/A after_train N/A N/A N/A train_obj model get_weights N/A N/A test_epochs N/A N/A N/A N/A train_obj model monitor get_epochs_seen 0 N/A N/A N/A np all N/A before_train after_train N/A