Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assert Call NameLoad ListComp CompareEq Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Cross-validation with blocks.
 N/A __author__ Steven Kearnes N/A __copyright__ Copyright 2014, Stanford University N/A __license__ 3-clause BSD theano.compat.six.moves xrange pylearn2.blocks StackedBlocks StackedBlocksCV N/A object N/A N/A 
    Multi-layer transforms using cross-validation models.

    Parameters
    ----------
    layers : iterable (list of lists)
        Cross-validation models for each layer. Should be a list of lists,
        where the first index is for the layer and the second index is for
        the cross-validation fold.
     __init__ N/A N/A self layers N/A N/A N/A stacked_blocks N/A N/A n_folds N/A len N/A layers N/A 0 N/A N/A all N/A N/A N/A len layer n_folds N/A layer layers N/A k N/A xrange n_folds N/A N/A this_blocks N/A N/A N/A i layer N/A enumerate layers N/A N/A N/A N/A this_blocks append N/A layer N/A k N/A this_stacked_blocks N/A StackedBlocks this_blocks N/A N/A N/A stacked_blocks append this_stacked_blocks N/A N/A self _folds stacked_blocks N/A select_fold N/A N/A self k N/A N/A N/A 
        Choose a single cross-validation fold to represent.

        Parameters
        ----------
        k : int
            Index of selected fold.
         N/A N/A N/A self _folds N/A k N/A get_input_space N/A N/A self N/A N/A N/A Get input space. N/A N/A N/A N/A N/A N/A self _folds N/A 0 N/A 0 get_input_space N/A get_output_space N/A N/A self N/A N/A N/A Get output space. N/A N/A N/A N/A N/A N/A self _folds N/A 0 N/A -1 get_output_space N/A set_input_space N/A N/A self space N/A N/A N/A 
        Set input space.

        Parameters
        ----------
        space : WRITEME
            Input space.
         N/A fold N/A self _folds N/A N/A this_space space N/A layer N/A fold _layers N/A N/A N/A N/A layer set_input_space this_space N/A this_space N/A N/A layer get_output_space N/A N/A