Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias Import alias identifier ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Num If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Num orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num keyword Num If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpPow NameLoad Num orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpMult SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If NameLoad body AugAssignDiv NameStore AttributeLoad NameLoad attr Expr Call NameLoad BinOpPow NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad keyword UnaryOpUSub NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad If CompareEq BinOpMod NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Return NameLoad decorator_list Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str Import alias identifier Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Num Num Num keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad Str Assign NameStore CompareEq NameLoad Num Assign NameStore CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad keyword Call AttributeLoad NameLoad attr Num Num Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad keyword Call AttributeLoad NameLoad attr Num Num Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index CompareEq NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index CompareEq SubscriptLoad NameLoad Index Str Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index CompareEq SubscriptLoad NameLoad Index Str Num keyword Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Return BinOpSub Call NameLoad NameLoad NameLoad keyword NameLoad keyword Num Call NameLoad NameLoad NameLoad keyword NameLoad keyword Num decorator_list Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad NameLoad BinOpMult Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr Num Num Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad Str
N/A scipy.ndimage convolve keras.layers containers keras.models Sequential model_from_yaml keras.layers.core Dense Dropout AutoEncoder MaxoutDense Activation Merge keras.layers.advanced_activations PReLU keras.layers.embeddings Embedding keras.layers.noise GaussianNoise keras.optimizers SGD RMSprop Adagrad Adam keras regularizers keras.callbacks EarlyStopping ModelCheckpoint N/A numpy np viz * likelihood * filter_grid N/A N/A filters labels nfilters shape normalize cmap symmetric N/A None all None True None True N/A N/A 
    A tool for visualizing filters on a grid.

    Args:
        filters (iterable): each element should be an 
            image with len(image.shape) == 2

        nfilters: (str or int): out of the total filters, 
            how many to plot? If a str, must be 'all'

        shape (tuple): What shape of grid do we want?

        normalize (bool): do we normalize all filters to have 
            magnitude 1?

    Returns: 
        plt.figure
     N/A NUMERICAL_NOISE_THRESH 0.001 N/A N/A nfilters all N/A N/A side_length N/A int N/A N/A np round N/A N/A np sqrt N/A len filters N/A N/A side_length N/A int N/A N/A np round N/A N/A np sqrt nfilters N/A N/A cmap None N/A N/A cma N/A custom_div_cmap 50 N/A N/A cma cmap N/A fig N/A N/A plt figure figsize N/A 15 15 dpi 140 N/A N/A shape None N/A N/A grid_layout N/A N/A gridspec GridSpec side_length side_length N/A nplots N/A side_length 2 N/A N/A grid_layout N/A N/A gridspec GridSpec N/A shape N/A 0 N/A shape N/A 1 N/A nplots N/A N/A shape N/A 0 N/A shape N/A 1 N/A N/A N/A plt title plots N/A N/A N/A grid_layout update wspace 0.0 hspace 0.0 N/A N/A i filt N/A enumerate filters N/A N/A filt N/A N/A filt copy N/A ax N/A N/A plt subplot N/A grid_layout N/A i N/A normalize N/A N/A filt N/A np s N/A N/A um N/A filt 2 N/A abs_max N/A N/A np max N/A N/A np abs filt N/A symmetric N/A N/A image N/A N/A ax imshow filt interpolation nearest cmap cma vmin N/A abs_max vmax abs_max N/A N/A image N/A N/A plt imshow filt interpolation nearest cmap cma N/A N/A N/A i 10 0 N/A N/A N/A N/A logger info N/A N/A {} of {} completed. format i nplots N/A N/A N/A plt axis off N/A N/A labels None N/A N/A N/A N/A plt title N/A labels N/A i N/A N/A N/A plt subplots_adjust hspace 0 wspace 0 N/A fig N/A N/A PLOT_DIR ./plots/arxiv/%s N/A data N/A N/A np load ../FINAL_SAMPLE.npy N/A N/A N/A {} jets before preselection format N/A N/A data shape N/A 0 N/A N/A signal pt mass tau_21 N/A N/A data N/A signal N/A data N/A jet_pt N/A data N/A jet_mass N/A data N/A tau_21 N/A deepdish.io io N/A net N/A N/A io load ./SLACNetConv-final-logloss.h5 N/A matplotlib.cm cm N/A fg N/A filter_grid N/A N/A N/A N/A net N/A layer_0 N/A param_0 reshape 64 11 11 normalize False cmap N/A cm YlGnBu symmetric False N/A N/A N/A fg savefig N/A PLOT_DIR conv-filts.pdf N/A signal N/A signal 1 N/A background N/A signal False N/A weights N/A N/A np ones N/A N/A data shape N/A 0 N/A reference_distribution N/A pt N/A background N/A N/A weights N/A signal N/A get_weights reference_distribution N/A pt N/A signal bins N/A N/A np linspace 250 300 200 N/A N/A weights N/A background N/A get_weights reference_distribution N/A pt N/A background bins N/A N/A np linspace 250 300 200 N/A sig_jets N/A N/A data N/A image N/A N/A signal True N/A bkg_jets N/A N/A data N/A image N/A N/A signal False N/A sig_mean N/A N/A np average sig_jets axis 0 N/A bkg_mean N/A N/A np average bkg_jets axis 0 N/A sig_mean_ben N/A N/A np average N/A N/A ben N/A image N/A N/A N/A ben N/A signal 1 axis 0 N/A bkg_mean_ben N/A N/A np average N/A N/A ben N/A image N/A N/A N/A ben N/A signal 0 axis 0 _filt_diff N/A N/A s b w border N/A constant N/A N/A N/A N/A convolve s w mode border cval 0.0 N/A convolve b w mode border cval 0.0 N/A N/A fg N/A filter_grid N/A N/A _filt_diff sig_mean bkg_mean N/A N/A N/A np sign w N/A N/A np sqrt N/A N/A np abs w N/A w N/A N/A N/A N/A net N/A layer_0 N/A param_0 reshape 64 11 11 normalize False symmetric True N/A N/A N/A fg savefig N/A PLOT_DIR conv-diffs-global.pdf