Module Expr Str TryExcept body ImportFrom alias identifier handlers ExceptHandler body Pass Import alias identifier Import alias FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num If NameLoad body Expr Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Num Num keyword SubscriptLoad NameLoad Index Num keyword Dict Str Num Expr Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Num Num keyword SubscriptLoad NameLoad Index Num keyword Dict Str Num keyword Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Num Num keyword SubscriptLoad NameLoad Index Num keyword Dict Str Num Expr Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Num Num keyword SubscriptLoad NameLoad Index Num keyword Dict Str Num keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign SubscriptStore NameLoad ExtSlice Slice NameLoad NameLoad Slice Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad ExtSlice Slice Slice Num Num BinOpMult NameLoad Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice NameLoad NameLoad Slice SubscriptLoad NameLoad ExtSlice Slice Slice Num Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr NameLoad ExtSlice Slice Index NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Assign NameStore BinOpPow NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign SubscriptStore NameLoad Index Str BinOpSub SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad For NameStore Call NameLoad Num NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign SubscriptStore NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Num BinOpSub Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num keyword NameLoad Assign SubscriptStore NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Num BinOpSub Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num keyword Call NameLoad NameLoad keyword Num keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Num keyword Num keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad For NameStore NameLoad body Assign NameStore BinOpPow Num NameLoad Assign NameStore BinOpDiv NameLoad BinOpAdd Num NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num If NameLoad body Expr Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Str Assign NameStore Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Num Num NameLoad ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Str Num Num NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Index Num Num attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult Num BinOpSub SubscriptLoad NameLoad ExtSlice Slice Index Num BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Index Num attr Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult Num Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num AugAssignSub NameStore Call AttributeLoad NameLoad attr AugAssignDiv NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num AugAssignAdd NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Str Num Num NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Index Num Num ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpMult Num BinOpSub SubscriptLoad NameLoad ExtSlice Slice Index Num BinOpMult Num SubscriptLoad NameLoad ExtSlice Slice Index Num ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult Num Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num AugAssignSub NameStore Call AttributeLoad NameLoad attr AugAssignDiv NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Slice Index Num SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Slice Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Assign NameStore Call AttributeLoad BinOpPow BinOpSub SubscriptLoad NameLoad Index Str NameLoad Num attr Print BinOpAdd Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Print Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Print NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad NameLoad Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad NameLoad Num Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Num Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Num Num BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Print NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Print NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Print NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num attr Num Num Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult Num NameLoad BinOpMult Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num attr Num Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult Num NameLoad BinOpMult Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMult Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Gaussian Processes regression examples
 N/A N/A matplotlib pyplot pb N/A N/A N/A N/A N/A numpy np N/A GPy olympic_marathon_men N/A N/A optimize plot N/A True True N/A N/A Run a standard Gaussian process regression on the Olympic marathon data. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets olympic_marathon_men N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y N/A N/A N/A m kern lengthscale 10.0 N/A optimize N/A N/A N/A N/A m optimize bfgs max_iters 200 N/A plot N/A N/A N/A N/A m plot plot_limits N/A 1850 2050 N/A m N/A coregionalization_toy N/A N/A optimize plot N/A True True N/A N/A 
    A simple demonstration of coregionalization on two sinusoidal functions.
     N/A X1 N/A N/A N/A N/A np random rand 50 1 8 N/A X2 N/A N/A N/A N/A np random rand 30 1 5 N/A Y1 N/A N/A N/A np sin X1 N/A N/A N/A N/A np random randn N/A X1 shape 0.05 N/A Y2 N/A N/A N/A N/A np sin X2 N/A N/A N/A N/A np random randn N/A X2 shape 0.05 2.0 N/A m N/A N/A N/A GPy models GPCoregionalizedRegression X_list N/A X1 X2 Y_list N/A Y1 Y2 N/A optimize N/A N/A N/A N/A m optimize bfgs max_iters 100 N/A plot N/A N/A slices N/A N/A N/A N/A GPy util multioutput get_slices N/A X1 X2 N/A N/A N/A m plot fixed_inputs N/A N/A 1 0 which_data_rows N/A slices N/A 0 Y_metadata N/A output_index 0 N/A N/A N/A m plot fixed_inputs N/A N/A 1 1 which_data_rows N/A slices N/A 1 Y_metadata N/A output_index 1 ax N/A N/A pb gca N/A m N/A coregionalization_sparse N/A N/A optimize plot N/A True True N/A N/A 
    A simple demonstration of coregionalization on two sinusoidal functions using sparse approximations.
     N/A X1 N/A N/A N/A N/A np random rand 50 1 8 N/A X2 N/A N/A N/A N/A np random rand 30 1 5 N/A Y1 N/A N/A N/A np sin X1 N/A N/A N/A N/A np random randn N/A X1 shape 0.05 N/A Y2 N/A N/A N/A N/A np sin X2 N/A N/A N/A N/A np random randn N/A X2 shape 0.05 2.0 N/A m N/A N/A N/A GPy models SparseGPCoregionalizedRegression X_list N/A X1 X2 Y_list N/A Y1 Y2 N/A optimize N/A N/A N/A N/A m optimize bfgs max_iters 100 N/A plot N/A N/A slices N/A N/A N/A N/A GPy util multioutput get_slices N/A X1 X2 N/A N/A N/A m plot fixed_inputs N/A N/A 1 0 which_data_rows N/A slices N/A 0 Y_metadata N/A output_index 0 N/A N/A N/A m plot fixed_inputs N/A N/A 1 1 which_data_rows N/A slices N/A 1 Y_metadata N/A output_index 1 ax N/A N/A pb gca N/A N/A N/A pb ylim -3 N/A m N/A epomeo_gpx N/A N/A max_iters optimize plot N/A 200 True True N/A N/A 
    Perform Gaussian process regression on the latitude and longitude data
    from the Mount Epomeo runs. Requires gpxpy to be installed on your system
    to load in the data.
     N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets epomeo_gpx N/A num_data_list N/A N/A Xpart N/A data N/A X N/A N/A N/A N/A num_data_list append N/A N/A Xpart shape N/A 0 N/A num_data_array N/A N/A np array num_data_list N/A num_data N/A N/A num_data_array sum N/A Y N/A N/A np zeros N/A num_data 2 N/A t N/A N/A np zeros N/A num_data 2 N/A start 0 N/A N/A Xpart index N/A zip N/A data N/A X N/A range N/A len N/A data N/A X N/A N/A end N/A start N/A N/A Xpart shape N/A 0 N/A N/A t N/A N/A start end N/A N/A N/A np hstack N/A N/A Xpart N/A N/A N/A 0 1 N/A index N/A N/A np ones N/A N/A N/A Xpart shape N/A 0 1 N/A N/A Y N/A N/A start end N/A N/A Xpart N/A N/A N/A 1 3 N/A num_inducing 200 N/A Z N/A N/A np hstack N/A N/A N/A N/A np linspace N/A N/A N/A t N/A N/A N/A 0 min N/A N/A N/A t N/A N/A N/A 0 max num_inducing N/A N/A N/A None N/A N/A N/A N/A np random randint 0 4 num_inducing N/A N/A N/A None N/A k1 N/A N/A N/A GPy kern RBF 1 N/A k2 N/A N/A N/A GPy kern Coregionalize output_dim 5 rank 5 N/A k N/A k1 k2 N/A m N/A N/A N/A GPy models SparseGPRegression t Y kernel k Z Z normalize_Y True N/A N/A N/A m constrain_fixed .*variance 1.0 N/A N/A N/A N/A m inducing_inputs constrain_fixed N/A N/A N/A N/A N/A m Gaussian_noise variance constrain_bounded 0.001 0.1 N/A N/A N/A m optimize max_iters max_iters messages True N/A m N/A multiple_optima N/A N/A gene_number resolution model_restarts seed max_iters optimize plot N/A 937 80 10 10000 300 True True N/A N/A 
    Show an example of a multimodal error surface for Gaussian process
    regression. Gene 939 has bimodal behaviour where the noisy mode is
    higher.
     N/A length_scales N/A N/A np linspace 0.1 60.0 resolution N/A log_SNRs N/A N/A np linspace -3.0 4.0 resolution N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets della_gatta_TRP63_gene_expression data_set della_gatta gene_number gene_number N/A N/A data N/A Y N/A N/A data N/A Y N/A N/A np mean N/A data N/A Y N/A lls N/A N/A N/A N/A GPy examples regression _contour_data data length_scales log_SNRs N/A N/A GPy kern RBF N/A plot N/A N/A N/A N/A pb contour length_scales log_SNRs N/A N/A np exp lls 20 cmap N/A N/A pb cm jet N/A ax N/A N/A pb gca N/A N/A N/A pb xlabel length scale N/A N/A N/A pb ylabel log_10 SNR N/A xlim N/A N/A ax get_xlim N/A ylim N/A N/A ax get_ylim N/A models N/A N/A optim_point_x N/A N/A np empty 2 N/A optim_point_y N/A N/A np empty 2 N/A N/A N/A N/A np random seed seed seed N/A i N/A range 0 model_restarts N/A N/A kern N/A N/A N/A GPy kern RBF 1 variance N/A N/A N/A np random uniform 0.001 1 lengthscale N/A N/A N/A np random uniform 5 50 N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y kernel kern N/A N/A N/A m likelihood variance N/A N/A N/A np random uniform 0.001 1 N/A N/A optim_point_x N/A 0 N/A N/A m rbf lengthscale N/A N/A optim_point_y N/A 0 N/A N/A N/A np log10 N/A N/A m rbf variance N/A N/A np log10 N/A N/A m likelihood variance N/A optimize N/A N/A N/A N/A m optimize scg xtol 1e-06 ftol 1e-06 max_iters max_iters N/A N/A optim_point_x N/A 1 N/A N/A m rbf lengthscale N/A N/A optim_point_y N/A 1 N/A N/A N/A np log10 N/A N/A m rbf variance N/A N/A np log10 N/A N/A m likelihood variance N/A plot N/A N/A N/A N/A pb arrow N/A optim_point_x N/A 0 N/A optim_point_y N/A 0 N/A N/A optim_point_x N/A 1 N/A optim_point_x N/A 0 N/A N/A optim_point_y N/A 1 N/A optim_point_y N/A 0 label N/A str i head_length 1 head_width 0.5 fc k ec k N/A N/A N/A models append m N/A plot N/A N/A N/A N/A ax set_xlim xlim N/A N/A N/A ax set_ylim ylim N/A m N/A _contour_data N/A N/A data length_scales log_SNRs kernel_call N/A N/A N/A GPy kern RBF N/A N/A 
    Evaluate the GP objective function for a given data set for a range of
    signal to noise ratios and a range of lengthscales.

    :data_set: A data set from the utils.datasets director.
    :length_scales: a list of length scales to explore for the contour plot.
    :log_SNRs: a list of base 10 logarithm signal to noise ratios to explore for the contour plot.
    :kernel: a kernel to use for the 'signal' portion of the data.
     N/A lls N/A N/A total_var N/A N/A np var N/A data N/A Y N/A kernel N/A kernel_call 1 variance 1.0 lengthscale 1.0 N/A model N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y kernel kernel N/A log_SNR log_SNRs N/A N/A SNR N/A 10.0 log_SNR N/A noise_var N/A total_var N/A 1.0 SNR N/A signal_var N/A total_var noise_var N/A N/A N/A model kern N/A .*variance signal_var N/A N/A N/A model likelihood variance noise_var N/A length_scale_lls N/A N/A length_scale length_scales N/A N/A N/A model N/A .*lengthscale length_scale N/A N/A N/A length_scale_lls append N/A N/A model log_likelihood N/A N/A N/A lls append length_scale_lls N/A N/A N/A np array lls N/A olympic_100m_men N/A N/A optimize plot N/A True True N/A N/A Run a standard Gaussian process regression on the Rogers and Girolami olympics data. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets olympic_100m_men N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y N/A N/A N/A m rbf lengthscale 10 N/A optimize N/A N/A N/A N/A m optimize bfgs max_iters 200 N/A plot N/A N/A N/A N/A m plot plot_limits N/A 1850 2050 N/A m N/A toy_rbf_1d N/A N/A optimize plot N/A True True N/A N/A Run a simple demonstration of a standard Gaussian process fitting it to data sampled from an RBF covariance. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets toy_rbf_1d N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y N/A optimize N/A N/A N/A N/A m optimize bfgs N/A plot N/A N/A N/A N/A m plot N/A m N/A toy_rbf_1d_50 N/A N/A optimize plot N/A True True N/A N/A Run a simple demonstration of a standard Gaussian process fitting it to data sampled from an RBF covariance. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets toy_rbf_1d_50 N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y N/A optimize N/A N/A N/A N/A m optimize bfgs N/A plot N/A N/A N/A N/A m plot N/A m N/A toy_poisson_rbf_1d_laplace N/A N/A optimize plot N/A True True N/A N/A Run a simple demonstration of a standard Gaussian process fitting it to data sampled from an RBF covariance. N/A optimizer scg N/A x_len 100 N/A X N/A N/A N/A np linspace 0 10 x_len N/A N/A N/A None N/A f_true N/A N/A N/A np random multivariate_normal N/A N/A np zeros x_len N/A N/A N/A N/A N/A GPy kern RBF 1 K X N/A Y N/A N/A N/A np array N/A N/A N/A N/A np random poisson N/A N/A np exp f N/A f f_true N/A N/A N/A None N/A kern N/A N/A N/A GPy kern RBF 1 N/A poisson_lik N/A N/A N/A GPy likelihoods Poisson N/A laplace_inf N/A N/A N/A N/A GPy inference latent_function_inference Laplace N/A m N/A N/A N/A GPy core GP X Y kernel kern likelihood poisson_lik inference_method laplace_inf N/A optimize N/A N/A N/A N/A m optimize optimizer N/A plot N/A N/A N/A N/A m plot N/A N/A N/A pb plot X N/A N/A np exp f_true --k linewidth 2 N/A m N/A toy_ARD N/A N/A max_iters kernel_type num_samples D optimize plot N/A 1000 linear 300 4 True True N/A N/A X1 N/A N/A np sin N/A N/A np sort N/A N/A N/A N/A np random rand num_samples 1 10 0 N/A X2 N/A N/A np cos N/A N/A np sort N/A N/A N/A N/A np random rand num_samples 1 10 0 N/A X3 N/A N/A np exp N/A N/A np sort N/A N/A N/A np random rand num_samples 1 0 N/A X4 N/A N/A np log N/A N/A np sort N/A N/A N/A np random rand num_samples 1 0 N/A X N/A N/A np hstack N/A X1 X2 X3 X4 N/A Y1 N/A N/A N/A N/A np asarray N/A N/A 2 N/A X N/A N/A N/A 0 3 reshape -1 1 N/A Y2 N/A N/A N/A N/A np asarray N/A 4 N/A N/A X N/A N/A N/A 2 N/A 1.5 N/A X N/A N/A N/A 0 reshape -1 1 N/A Y N/A N/A np hstack N/A Y1 Y2 N/A Y N/A N/A np dot Y N/A N/A N/A np random rand 2 D N/A Y N/A Y N/A 0.2 N/A N/A N/A np random randn N/A N/A Y shape N/A 0 N/A N/A Y shape N/A 1 N/A Y N/A N/A Y mean N/A Y N/A N/A Y std N/A N/A kernel_type linear N/A N/A kernel N/A N/A N/A GPy kern Linear N/A N/A X shape N/A 1 ARD 1 N/A N/A N/A kernel_type rbf_inv N/A N/A kernel N/A N/A N/A GPy kern RBF_inv N/A N/A X shape N/A 1 ARD 1 N/A N/A kernel N/A N/A N/A GPy kern RBF N/A N/A X shape N/A 1 ARD 1 N/A kernel N/A N/A N/A N/A GPy kern White N/A N/A X shape N/A 1 N/A N/A N/A GPy kern Bias N/A N/A X shape N/A 1 N/A m N/A N/A N/A GPy models GPRegression X Y kernel N/A optimize N/A N/A N/A N/A m optimize optimizer scg max_iters max_iters N/A plot N/A N/A N/A N/A N/A m kern plot_ARD N/A m N/A toy_ARD_sparse N/A N/A max_iters kernel_type num_samples D optimize plot N/A 1000 linear 300 4 True True N/A N/A X1 N/A N/A np sin N/A N/A np sort N/A N/A N/A N/A np random rand num_samples 1 10 0 N/A X2 N/A N/A np cos N/A N/A np sort N/A N/A N/A N/A np random rand num_samples 1 10 0 N/A X3 N/A N/A np exp N/A N/A np sort N/A N/A N/A np random rand num_samples 1 0 N/A X4 N/A N/A np log N/A N/A np sort N/A N/A N/A np random rand num_samples 1 0 N/A X N/A N/A np hstack N/A X1 X2 X3 X4 N/A Y1 N/A N/A N/A np asarray N/A N/A 2 N/A X N/A N/A N/A 0 3 N/A N/A N/A None N/A Y2 N/A N/A N/A np asarray N/A 4 N/A N/A X N/A N/A N/A 2 N/A 1.5 N/A X N/A N/A N/A 0 N/A N/A N/A None N/A Y N/A N/A np hstack N/A Y1 Y2 N/A Y N/A N/A np dot Y N/A N/A N/A np random rand 2 D N/A Y N/A Y N/A 0.2 N/A N/A N/A np random randn N/A N/A Y shape N/A 0 N/A N/A Y shape N/A 1 N/A Y N/A N/A Y mean N/A Y N/A N/A Y std N/A N/A kernel_type linear N/A N/A kernel N/A N/A N/A GPy kern Linear N/A N/A X shape N/A 1 ARD 1 N/A N/A N/A kernel_type rbf_inv N/A N/A kernel N/A N/A N/A GPy kern RBF_inv N/A N/A X shape N/A 1 ARD 1 N/A N/A kernel N/A N/A N/A GPy kern RBF N/A N/A X shape N/A 1 ARD 1 N/A X_variance N/A N/A N/A np ones N/A X shape 0.5 N/A m N/A N/A N/A GPy models SparseGPRegression X Y kernel X_variance X_variance N/A optimize N/A N/A N/A N/A m optimize optimizer scg max_iters max_iters N/A plot N/A N/A N/A N/A N/A m kern plot_ARD N/A m N/A robot_wireless N/A N/A max_iters kernel optimize plot N/A 100 None True True N/A N/A Predict the location of a robot given wirelss signal strength readings. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets robot_wireless N/A m N/A N/A N/A GPy models GPRegression N/A data N/A Y N/A data N/A X kernel kernel N/A optimize N/A N/A N/A N/A m optimize max_iters max_iters N/A Xpredict N/A N/A N/A m predict N/A data N/A Ytest N/A 0 N/A plot N/A N/A N/A N/A pb plot N/A N/A data N/A Xtest N/A N/A N/A 0 N/A N/A data N/A Xtest N/A N/A N/A 1 r- N/A N/A N/A pb plot N/A Xpredict N/A N/A N/A 0 N/A Xpredict N/A N/A N/A 1 b- N/A N/A N/A pb axis equal N/A N/A N/A pb title WiFi Localization with Gaussian Processes N/A N/A N/A pb legend N/A True Location Predicted Location N/A sse N/A N/A N/A N/A N/A data N/A Xtest Xpredict 2 sum N/A N/A Sum of squares error on test data:  N/A str sse N/A m N/A silhouette N/A N/A max_iters optimize plot N/A 100 True True N/A N/A Predict the pose of a figure given a silhouette. This is a task from Agarwal and Triggs 2004 ICML paper. N/A N/A N/A pods N/A N/A N/A ImportError N/A N/A pods unavailable, see https://github.com/sods/ods for example datasets N/A N/A data N/A N/A N/A pods datasets silhouette N/A m N/A N/A N/A GPy models GPRegression N/A data N/A X N/A data N/A Y N/A optimize N/A N/A N/A N/A m optimize messages True max_iters max_iters N/A m N/A m N/A sparse_GP_regression_1D N/A N/A num_samples num_inducing max_iters optimize plot checkgrad N/A 400 5 100 True True False N/A N/A Run a 1D example of a sparse GP regression. N/A X N/A N/A N/A np random uniform -3.0 3.0 N/A num_samples 1 N/A Y N/A N/A N/A np sin X N/A N/A N/A N/A np random randn num_samples 1 0.05 N/A rbf N/A N/A N/A GPy kern RBF 1 N/A m N/A N/A N/A GPy models SparseGPRegression X Y kernel rbf num_inducing num_inducing N/A checkgrad N/A N/A N/A N/A m checkgrad N/A optimize N/A N/A N/A N/A m optimize tnc max_iters max_iters N/A plot N/A N/A N/A N/A m plot N/A m N/A sparse_GP_regression_2D N/A N/A num_samples num_inducing max_iters optimize plot nan N/A 400 50 100 True True False N/A N/A Run a 2D example of a sparse GP regression. N/A N/A N/A N/A np random seed 1234 N/A X N/A N/A N/A np random uniform -3.0 3.0 N/A num_samples 2 N/A Y N/A N/A N/A N/A np sin N/A X N/A N/A N/A 0 1 N/A N/A np sin N/A X N/A N/A N/A 1 2 N/A N/A N/A N/A np random randn num_samples 1 0.05 N/A nan N/A N/A inan N/A N/A N/A np random binomial 1 0.2 size N/A Y shape N/A N/A Y N/A inan N/A np nan N/A rbf N/A N/A N/A GPy kern RBF 2 N/A m N/A N/A N/A GPy models SparseGPRegression X Y kernel rbf num_inducing num_inducing N/A N/A m N/A .*len 2.0 N/A N/A N/A m checkgrad N/A optimize N/A N/A N/A N/A m optimize tnc messages 1 max_iters max_iters N/A plot N/A N/A N/A N/A m plot N/A m N/A m N/A uncertain_inputs_sparse_regression N/A N/A max_iters optimize plot N/A 200 True True N/A N/A Run a 1D example of a sparse GP regression with uncertain inputs. N/A N/A fig axes N/A N/A pb subplots 1 2 figsize N/A 12 5 sharex True sharey True N/A S N/A N/A np ones N/A 20 1 N/A X N/A N/A N/A np random uniform -3.0 3.0 N/A 20 1 N/A Y N/A N/A N/A np sin X N/A N/A N/A N/A np random randn 20 1 0.05 N/A Z N/A N/A N/A np random uniform -3.0 3.0 N/A 7 1 N/A k N/A N/A N/A GPy kern RBF 1 N/A m N/A N/A N/A GPy models SparseGPRegression X Y kernel k Z Z N/A optimize N/A N/A N/A N/A m optimize scg messages 1 max_iters max_iters N/A plot N/A N/A N/A N/A m plot ax N/A axes N/A 0 N/A N/A N/A N/A axes N/A 0 set_title no input uncertainty N/A m N/A m N/A N/A N/A GPy models SparseGPRegression X Y kernel N/A N/A N/A GPy kern RBF 1 Z Z X_variance S N/A optimize N/A N/A N/A N/A m optimize scg messages 1 max_iters max_iters N/A plot N/A N/A N/A N/A m plot ax N/A axes N/A 1 N/A N/A N/A N/A axes N/A 1 set_title with input uncertainty N/A N/A N/A N/A fig canvas draw N/A m N/A m N/A simple_mean_function N/A N/A max_iters optimize plot N/A 100 True True N/A N/A 
    The simplest possible mean function. No parameters, just a simple Sinusoid.
     N/A mf N/A N/A N/A GPy core Mapping 1 1 N/A N/A mf f N/A np sin N/A N/A mf update_gradients N/A N/A N/A a b N/A None N/A X N/A N/A N/A N/A np linspace 0 10 50 reshape -1 1 N/A Y N/A N/A N/A N/A np sin X N/A 0.5 N/A N/A np cos N/A 3 X N/A 0.1 N/A N/A N/A np random randn N/A X shape N/A k N/A N/A N/A GPy kern RBF 1 N/A lik N/A N/A N/A GPy likelihoods Gaussian N/A m N/A N/A N/A GPy core GP X Y kernel k likelihood lik mean_function mf N/A optimize N/A N/A N/A N/A m optimize max_iters max_iters N/A plot N/A N/A N/A N/A m plot plot_limits N/A -10 15 N/A m N/A parametric_mean_function N/A N/A max_iters optimize plot N/A 100 True True N/A N/A 
    A linear mean function with parameters that we'll learn alongside the kernel
     N/A mf N/A N/A N/A GPy core Mapping 1 1 N/A N/A mf f N/A np sin N/A X N/A N/A N/A N/A np linspace 0 10 50 reshape -1 1 N/A Y N/A N/A N/A N/A N/A np sin X N/A 0.5 N/A N/A np cos N/A 3 X N/A 0.1 N/A N/A N/A np random randn N/A X shape N/A 3 X N/A mf N/A N/A N/A GPy mappings Linear 1 1 N/A k N/A N/A N/A GPy kern RBF 1 N/A lik N/A N/A N/A GPy likelihoods Gaussian N/A m N/A N/A N/A GPy core GP X Y kernel k likelihood lik mean_function mf N/A optimize N/A N/A N/A N/A m optimize max_iters max_iters N/A plot N/A N/A N/A N/A m plot N/A m N/A