Module Import alias identifier ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore TupleLoad Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore BinOpSub Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore BinOpSub Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Call NameLoad NameLoad Num Assign NameStore BinOpFloorDiv Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpMult Num NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpAdd BinOpMult Num NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num keyword Str Assign SubscriptStore NameLoad ExtSlice Slice NameLoad BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice NameLoad BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Slice NameLoad Assign NameStore NameLoad Print Str Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr BinOpDiv NameLoad Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr BinOpDiv NameLoad Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr Str Assign NameStore Call NameLoad TupleLoad Num Num Num Num keyword Str keyword Str keyword Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr BinOpDiv NameLoad Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr Str Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr Call NameLoad TupleLoad NameLoad NameLoad Num Num keyword Str keyword Str keyword Num Print Str Assign NameStore Str Assign NameStore Call NameLoad keyword ListLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr BinOpDiv NameLoad Num Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr keyword NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad Num Num attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num keyword Str keyword Num Print Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore TupleLoad BinOpSub SubscriptLoad NameLoad ExtSlice Slice Index Num BinOpFloorDiv NameLoad Num BinOpSub SubscriptLoad NameLoad ExtSlice Slice Index Num BinOpFloorDiv NameLoad Num Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Assign NameStore Call NameLoad Str Assign NameStore Str Assign NameStore Str Print Str Assign NameStore Call NameLoad keyword Num keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr
N/A N/A numpy np scipy.misc imresize N/A matplotlib.pyplot plt N/A matplotlib.image mpimg matplotlib.patches Rectangle sklearn_theano.feature_extraction OverfeatLocalizer sklearn_theano.datasets load_sample_image sklearn.mixture GMM N/A 
pip install git+https://github.com/sklearn-theano/sklearn-theano

Example originally from sklearn-theano:
http://sklearn-theano.github.io/auto_examples/plot_localization_tutorial.html
 convert_points_to_box N/A N/A points color alpha window_adjust N/A 0 N/A N/A upper_left_point N/A N/A N/A N/A points N/A N/A N/A 0 min N/A N/A N/A points N/A N/A N/A 1 min N/A width N/A N/A N/A N/A points N/A N/A N/A 0 max N/A N/A N/A points N/A N/A N/A 0 min N/A height N/A N/A N/A N/A points N/A N/A N/A 1 max N/A N/A N/A points N/A N/A N/A 1 min N/A N/A Rectangle upper_left_point width height ec color fc color alpha alpha N/A N/A N/A f axarr N/A N/A plt subplots 2 2 N/A X N/A N/A N/A N/A mpimg imread sloth.png astype float32 N/A X N/A imresize X 0.4 N/A pad_size N/A 230 2 N/A XL N/A N/A np zeros N/A N/A N/A 2 pad_size N/A N/A X shape N/A 0 N/A N/A 2 pad_size N/A N/A X shape N/A 1 3 dtype float32 N/A N/A XL N/A N/A pad_size N/A pad_size N/A N/A X shape N/A 0 N/A pad_size N/A pad_size N/A N/A X shape N/A 1 N/A X N/A X XL N/A Read image N/A N/A Image size %sx%sx%s N/A X shape N/A N/A N/A N/A axarr N/A N/A 0 0 imshow N/A X 255.0 N/A N/A N/A N/A axarr N/A N/A 0 0 axis off N/A N/A N/A N/A axarr N/A N/A 0 1 imshow N/A X 255.0 N/A N/A N/A N/A axarr N/A N/A 0 1 axis off N/A r N/A Rectangle N/A 0 0 231 231 fc yellow ec black alpha 0.8 N/A N/A N/A N/A axarr N/A N/A 0 1 add_patch r N/A N/A N/A N/A axarr N/A N/A 1 0 imshow N/A X 255.0 N/A N/A N/A N/A axarr N/A N/A 1 0 axis off N/A x_points N/A N/A np linspace 0 N/A N/A N/A X shape N/A 1 231 13 N/A y_points N/A N/A np linspace 0 N/A N/A N/A X shape N/A 0 231 10 N/A N/A xx yy N/A N/A np meshgrid x_points y_points N/A N/A x y N/A zip N/A xx flat N/A yy flat N/A N/A N/A N/A N/A axarr N/A N/A 1 0 add_patch N/A Rectangle N/A x y 231 231 fc yellow ec black alpha 0.4 N/A Starting localization N/A sloth_label three-toed sloth, ai, Bradypus tridactylus N/A clf N/A OverfeatLocalizer match_strings N/A sloth_label N/A sloth_points N/A N/A N/A clf predict X N/A 0 N/A N/A N/A N/A axarr N/A N/A 1 1 imshow N/A X 255.0 N/A N/A N/A N/A axarr N/A N/A 1 1 axis off N/A N/A N/A N/A axarr N/A N/A 1 1 autoscale enable False N/A N/A N/A N/A axarr N/A N/A 1 1 scatter N/A sloth_points N/A N/A N/A 0 N/A sloth_points N/A N/A N/A 1 color orange s 50 N/A Localization complete! convert_gmm_to_box N/A N/A gmm color alpha N/A N/A N/A midpoint N/A gmm means_ N/A std N/A 3 N/A N/A np sqrt N/A clf covars_ N/A width N/A std N/A N/A N/A 0 N/A height N/A std N/A N/A N/A 1 N/A upper_left_point N/A N/A N/A midpoint N/A N/A N/A 0 N/A width 2 N/A N/A midpoint N/A N/A N/A 1 N/A height 2 N/A N/A Rectangle upper_left_point width height ec color fc color alpha alpha N/A N/A X N/A load_sample_image cat_and_dog.jpg N/A dog_label dog.n.01 N/A cat_label cat.n.01 N/A Starting localization N/A clf N/A OverfeatLocalizer top_n 1 match_strings N/A dog_label cat_label N/A points N/A N/A clf predict X N/A Localization complete! N/A dog_points N/A points N/A 0 N/A cat_points N/A points N/A 1 N/A N/A N/A plt figure N/A N/A N/A plt imshow X N/A ax N/A N/A plt gca N/A N/A N/A ax autoscale enable False N/A clf N/A GMM N/A N/A N/A clf fit dog_points N/A dog_box N/A convert_gmm_to_box clf darkred 0.6 N/A N/A N/A clf fit cat_points N/A cat_box N/A convert_gmm_to_box clf steelblue 0.6 N/A N/A N/A ax add_patch dog_box N/A N/A N/A ax add_patch cat_box N/A N/A N/A N/A N/A ax get_xaxis set_ticks N/A N/A N/A N/A N/A N/A ax get_yaxis set_ticks N/A N/A N/A N/A plt show