Module ImportFrom alias Import alias identifier Import alias alias alias alias identifier FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMult Num BinOpSub Num BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Index Num Print NameLoad Assign NameStore Num If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str
N/A deepnet deepnet_pb2 N/A matplotlib.pyplot plt N/A glob sys gzip numpy np preds N/A N/A metrics_list N/A N/A N/A y N/A N/A metric metrics_list N/A N/A count N/A metric count N/A N/A N/A y append N/A 100 N/A 1 N/A N/A metric correct_preds N/A metric count N/A y N/A get_plot N/A N/A v skip label N/A N/A N/A y N/A v N/A skip N/A x N/A N/A np arange skip N/A len v N/A N/A N/A plt plot x y label label N/A N/A N/A __name__ __main__ N/A N/A N/A N/A plt ion N/A proto N/A N/A sys argv N/A 1 N/A proto N/A N/A N/A glob glob N/A proto * N/A -1 N/A proto N/A skip 0 N/A N/A N/A len N/A sys argv 2 N/A N/A skip N/A int N/A N/A sys argv N/A 2 N/A model_pb N/A N/A deepnet_pb2 Model N/A f N/A N/A gzip open proto rb N/A N/A N/A model_pb ParseFromString N/A N/A f read N/A N/A N/A f close N/A train N/A preds N/A model_pb train_stats N/A valid N/A preds N/A model_pb validation_stats N/A test N/A preds N/A model_pb test_stats N/A x N/A N/A np arange N/A len train N/A N/A N/A plt figure 1 N/A p1 N/A get_plot train skip train N/A p2 N/A get_plot valid skip valid N/A p3 N/A get_plot test skip test N/A N/A N/A plt legend N/A N/A N/A plt xlabel Iterations / 2000 N/A N/A N/A plt ylabel Error % N/A N/A N/A plt draw N/A N/A raw_input Press any key