Module Import alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias alias alias Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad BinOpSub NameLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num keyword Num keyword NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Num Assign NameStore Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice NameLoad Slice Assign NameStore BinOpMult BinOpAdd NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult BinOpAdd NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For TupleStore TupleStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr
N/A N/A theano N/A numpy np N/A matplotlib.pyplot plt sklearn datasets neupy algorithms layers environment N/A N/A N/A environment reproducible N/A N/A N/A theano config floatX float32 reduce_dimension N/A N/A network data N/A N/A N/A  Function minimize input data dimention using
    pre-trained autoencoder.
     N/A minimized_data N/A N/A N/A network input_layer output data N/A N/A N/A minimized_data eval N/A N/A mnist N/A N/A datasets fetch_mldata MNIST original N/A data N/A N/A mnist data 255.0 N/A features_mean N/A N/A data mean axis 0 N/A data N/A N/A N/A data features_mean astype N/A np float32 N/A N/A N/A N/A np random shuffle data N/A N/A x_train x_test N/A N/A data N/A 60000 N/A data N/A 60000 N/A autoencoder N/A N/A algorithms Momentum N/A N/A N/A layers Dropout proba 0.5 N/A N/A layers Sigmoid 784 N/A N/A layers Sigmoid 100 N/A N/A layers Output 784 step 0.25 verbose True momentum 0.99 nesterov True N/A N/A N/A autoencoder train x_train x_train x_test x_test epochs 100 N/A n_samples 4 N/A image_vectors N/A x_test N/A N/A n_samples N/A N/A images N/A N/A image_vectors features_mean 255.0 N/A predicted_images N/A N/A autoencoder predict image_vectors N/A predicted_images N/A N/A predicted_images features_mean 255.0 N/A N/A fig axes N/A N/A plt subplots 4 2 figsize N/A 12 8 N/A iterator N/A zip axes images predicted_images N/A N/A N/A left_ax right_ax real_image predicted_image iterator N/A N/A real_image N/A N/A real_image reshape N/A 28 28 N/A predicted_image N/A N/A predicted_image reshape N/A 28 28 N/A N/A N/A left_ax imshow real_image cmap N/A N/A plt cm binary N/A N/A N/A right_ax imshow predicted_image cmap N/A N/A plt cm binary N/A N/A N/A plt show