Module Import alias ImportFrom alias Import alias ImportFrom alias Import alias identifier ImportFrom alias Assign NameStore Num TryExcept body ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Str Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Str ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num If Call NameLoad CompareLtE AttributeLoad NameLoad attr Num body Print Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Slice Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Slice Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If NameLoad body Print Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Assign NameStore NameLoad Assert NameLoad Return NameLoad If NameLoad body Print Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad keyword NameLoad attr keyword NameLoad If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad keyword NameLoad keyword NameLoad attr keyword NameLoad Assign NameStore NameLoad Assert NameLoad Return NameLoad If NameLoad body Print Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad keyword NameLoad attr keyword NameLoad If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad keyword NameLoad keyword NameLoad attr keyword NameLoad Assign NameStore NameLoad Assert NameLoad Return NameLoad If NameLoad body Print Str TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Print BinOpAdd Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr keyword NameLoad Assign NameStore NameLoad Assert NameLoad Return NameLoad If NameLoad body Print Str TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Print BinOpAdd Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assert NameLoad Assign NameStore NameLoad Return NameLoad If NameLoad body Print Str TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Print BinOpAdd Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assert NameLoad Assign NameStore NameLoad Return NameLoad If NameLoad body Print Str TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Print BinOpAdd Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Print Str If UnaryOpNot NameLoad body Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr keyword NameLoad Assign NameStore NameLoad Assert NameLoad Return NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign AttributeStore NameLoad attr ListComp Call NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num BinOpSub AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd BinOpMult Num AttributeLoad NameLoad attr Num attr Num BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Num Num Assign AttributeStore NameLoad attr BinOpMult SubscriptLoad Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr UnaryOpUAdd AttributeLoad NameLoad attr NameLoad ExtSlice Slice Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Call AttributeLoad NameLoad attr ListLoad Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad CompareEq NameLoad Num Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad CompareEq NameLoad Num Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad CompareEq NameLoad Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult BinOpAdd NameLoad NameLoad Num BinOpAdd AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice BinOpMult NameLoad Num Index Num Num Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice BinOpMult NameLoad Num Index Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword ListLoad Num AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index CompareNotEq SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index CompareNotEq SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Num keyword ListLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Str decorator_list decorator_list Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Assign AttributeStore NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign TupleStore NameStore NameStore NameStore TupleLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias alias alias alias alias Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore ListLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad Call NameLoad NameLoad BinOpAdd BinOpAdd Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad BinOpMult AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Slice NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp UnaryOpNot NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Print Str Expr Call AttributeLoad NameLoad attr
N/A N/A unittest unittest.case skip N/A GPy GPy.core.parameterization.param Param N/A numpy np util.config config N/A verbose 0 N/A N/A util linalg_cython N/A N/A N/A config set cython working True N/A N/A N/A ImportError N/A N/A N/A N/A config set cython working False Kern_check_model N/A N/A N/A GPy core Model N/A N/A 
    This is a dummy model class used as a base class for checking that the
    gradients of a given kernel are implemented correctly. It enables
    checkgrad() to be called independently on a kernel.
     __init__ N/A N/A self kernel dL_dK X X2 N/A None None None None N/A N/A N/A N/A N/A super Kern_check_model self __init__ kernel_test_model N/A N/A kernel None N/A N/A kernel N/A N/A N/A GPy kern RBF 1 N/A N/A N/A kernel randomize loc 1 scale 0.1 N/A N/A X None N/A N/A X N/A N/A N/A np random randn 20 N/A kernel input_dim N/A N/A dL_dK None N/A N/A N/A X2 None N/A N/A dL_dK N/A N/A N/A np random rand N/A N/A X shape N/A 0 N/A N/A X shape N/A 0 N/A N/A dL_dK N/A N/A N/A np random rand N/A N/A X shape N/A 0 N/A N/A X2 shape N/A 0 N/A N/A self kernel kernel N/A N/A self X X N/A N/A self X2 X2 N/A N/A self dL_dK dL_dK N/A is_positive_semi_definite N/A N/A self N/A N/A N/A v N/A N/A N/A N/A np linalg eig N/A N/A N/A self kernel K N/A self X N/A 0 N/A N/A any N/A N/A v real -1e-10 N/A N/A N/A N/A N/A v real min N/A False N/A N/A True N/A log_likelihood N/A N/A self N/A N/A N/A N/A N/A np sum N/A N/A self dL_dK N/A N/A N/A self kernel K N/A self X N/A self X2 N/A N/A Kern_check_dK_dtheta N/A Kern_check_model N/A N/A 
    This class allows gradient checks for the gradient of a kernel with
    respect to parameters.
     __init__ N/A N/A self kernel dL_dK X X2 N/A None None None None N/A N/A N/A N/A Kern_check_model __init__ self kernel kernel dL_dK dL_dK X X X2 X2 N/A N/A N/A self link_parameter N/A self kernel N/A parameters_changed N/A N/A self N/A N/A N/A N/A N/A N/A self kernel update_gradients_full N/A self dL_dK N/A self X N/A self X2 N/A N/A Kern_check_dKdiag_dtheta N/A Kern_check_model N/A N/A 
    This class allows gradient checks of the gradient of the diagonal of a
    kernel with respect to the parameters.
     __init__ N/A N/A self kernel dL_dK X N/A None None None N/A N/A N/A N/A Kern_check_model __init__ self kernel kernel dL_dK dL_dK X X X2 None N/A N/A N/A self link_parameter N/A self kernel N/A log_likelihood N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A np diag N/A self dL_dK N/A N/A N/A self kernel Kdiag N/A self X sum N/A parameters_changed N/A N/A self N/A N/A N/A N/A N/A N/A self kernel update_gradients_diag N/A N/A np diag N/A self dL_dK N/A self X N/A N/A Kern_check_dK_dX N/A Kern_check_model N/A N/A This class allows gradient checks for the gradient of a kernel with respect to X.  __init__ N/A N/A self kernel dL_dK X X2 N/A None None None None N/A N/A N/A N/A Kern_check_model __init__ self kernel kernel dL_dK dL_dK X X X2 X2 N/A N/A self X N/A Param X X N/A N/A N/A self link_parameter N/A self X N/A parameters_changed N/A N/A self N/A N/A N/A N/A N/A N/A self X gradient N/A N/A N/A N/A self kernel gradients_X N/A self dL_dK N/A self X N/A self X2 N/A N/A Kern_check_dKdiag_dX N/A Kern_check_dK_dX N/A N/A This class allows gradient checks for the gradient of a kernel diagonal with respect to X.  __init__ N/A N/A self kernel dL_dK X X2 N/A None None None None N/A N/A N/A N/A Kern_check_dK_dX __init__ self kernel kernel dL_dK dL_dK X X X2 None N/A log_likelihood N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A np diag N/A self dL_dK N/A N/A N/A self kernel Kdiag N/A self X sum N/A parameters_changed N/A N/A self N/A N/A N/A N/A N/A N/A self X gradient N/A N/A N/A N/A self kernel gradients_X_diag N/A N/A N/A self dL_dK diagonal N/A self X N/A N/A check_kernel_gradient_functions N/A N/A kern X X2 output_ind verbose fixed_X_dims N/A None None None False None N/A N/A 
    This function runs on kernels to check the correctness of their
    implementation. It checks that the covariance function is positive definite
    for a randomly generated data set.

    :param kern: the kernel to be tested.
    :type kern: GPy.kern.Kernpart
    :param X: X input values to test the covariance function.
    :type X: ndarray
    :param X2: X2 input values to test the covariance function.
    :type X2: ndarray

     N/A pass_checks True N/A N/A X None N/A N/A X N/A N/A N/A np random randn 10 N/A kern input_dim N/A N/A output_ind None N/A N/A N/A X N/A N/A N/A output_ind N/A N/A N/A np random randint N/A kern output_dim N/A N/A X shape N/A 0 N/A N/A X2 None N/A N/A X2 N/A N/A N/A np random randn 20 N/A kern input_dim N/A N/A output_ind None N/A N/A N/A X2 N/A N/A N/A output_ind N/A N/A N/A np random randint N/A kern output_dim N/A N/A X2 shape N/A 0 N/A verbose N/A N/A Checking covariance function is positive definite. N/A result N/A N/A N/A Kern_check_model kern X X is_positive_semi_definite N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Positive definite check failed for  N/A kern name  covariance function. N/A pass_checks False N/A result N/A False N/A verbose N/A N/A Checking gradients of K(X, X) wrt theta. N/A result N/A N/A N/A Kern_check_dK_dtheta kern X X X2 None checkgrad verbose verbose N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of K(X, X) wrt theta failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A N/A Kern_check_dK_dtheta kern X X X2 None checkgrad verbose True N/A pass_checks False N/A result N/A False N/A verbose N/A N/A Checking gradients of K(X, X2) wrt theta. N/A result N/A N/A N/A Kern_check_dK_dtheta kern X X X2 X2 checkgrad verbose verbose N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of K(X, X) wrt theta failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A N/A Kern_check_dK_dtheta kern X X X2 X2 checkgrad verbose True N/A pass_checks False N/A result N/A False N/A verbose N/A N/A Checking gradients of Kdiag(X) wrt theta. N/A N/A N/A result N/A N/A N/A Kern_check_dKdiag_dtheta kern X X checkgrad verbose verbose N/A N/A N/A NotImplementedError N/A N/A result True N/A verbose N/A N/A N/A update_gradients_diag not implemented for  N/A kern name N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of Kdiag(X) wrt theta failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A N/A Kern_check_dKdiag_dtheta kern X X checkgrad verbose True N/A pass_checks False N/A result N/A False N/A verbose N/A N/A Checking gradients of K(X, X) wrt X. N/A N/A N/A testmodel N/A Kern_check_dK_dX kern X X X2 None N/A N/A fixed_X_dims None N/A N/A N/A N/A N/A N/A testmodel X N/A N/A N/A fixed_X_dims fix N/A result N/A N/A testmodel checkgrad verbose verbose N/A N/A N/A NotImplementedError N/A N/A result True N/A verbose N/A N/A N/A gradients_X not implemented for  N/A kern name N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of K(X, X) wrt X failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A testmodel checkgrad verbose True N/A result N/A pass_checks False N/A False N/A verbose N/A N/A Checking gradients of K(X, X2) wrt X. N/A N/A N/A testmodel N/A Kern_check_dK_dX kern X X X2 X2 N/A N/A fixed_X_dims None N/A N/A N/A N/A N/A N/A testmodel X N/A N/A N/A fixed_X_dims fix N/A result N/A N/A testmodel checkgrad verbose verbose N/A N/A N/A NotImplementedError N/A N/A result True N/A verbose N/A N/A N/A gradients_X not implemented for  N/A kern name N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of K(X, X2) wrt X failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A testmodel checkgrad verbose True N/A result N/A pass_checks False N/A False N/A verbose N/A N/A Checking gradients of Kdiag(X) wrt X. N/A N/A N/A testmodel N/A Kern_check_dKdiag_dX kern X X N/A N/A fixed_X_dims None N/A N/A N/A N/A N/A N/A testmodel X N/A N/A N/A fixed_X_dims fix N/A result N/A N/A testmodel checkgrad verbose verbose N/A N/A N/A NotImplementedError N/A N/A result True N/A verbose N/A N/A N/A gradients_X not implemented for  N/A kern name N/A N/A result verbose N/A N/A Check passed. N/A N/A result N/A N/A N/A N/A Gradient of Kdiag(X) wrt X failed for  N/A kern name  covariance function. Gradient values as follows: N/A N/A N/A N/A Kern_check_dKdiag_dX kern X X checkgrad verbose True N/A pass_checks False N/A result N/A False N/A pass_checks N/A KernelGradientTestsContinuous N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A self N N/A self D N/A 10 5 N/A N/A self X N/A N/A N/A np random randn N/A self N N/A self D N/A N/A self X2 N/A N/A N/A np random randn N/A N/A self N 10 N/A self D N/A continuous_kerns N/A RBF Linear N/A N/A self kernclasses N/A N/A getattr N/A GPy kern s N/A s continuous_kerns N/A test_MLP N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern MLP N/A self D ARD True N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Matern32 N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern Matern32 N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Prod N/A N/A self N/A N/A N/A k N/A N/A N/A N/A N/A GPy kern Matern32 2 active_dims N/A 2 3 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Prod1 N/A N/A self N/A N/A N/A k N/A N/A N/A N/A GPy kern RBF N/A self D N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Prod2 N/A N/A self N/A N/A N/A k N/A N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Prod3 N/A N/A self N/A N/A N/A k N/A N/A N/A N/A N/A GPy kern RBF N/A self D N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A GPy kern Bias N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Prod4 N/A N/A self N/A N/A N/A k N/A N/A N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A GPy kern Matern32 2 active_dims N/A 0 1 N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Add N/A N/A self N/A N/A N/A k N/A N/A N/A N/A N/A GPy kern Matern32 2 active_dims N/A 2 3 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A k N/A N/A N/A N/A N/A GPy kern Matern32 2 active_dims N/A 2 3 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Add_dims N/A N/A self N/A N/A N/A k N/A N/A N/A N/A N/A GPy kern Matern32 2 active_dims N/A 2 N/A self D N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertRaises IndexError N/A k K N/A self X N/A k N/A N/A N/A N/A N/A GPy kern Matern32 2 active_dims N/A 2 N/A N/A self D 1 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 4 N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A N/A N/A k K N/A self X N/A N/A N/A AssertionError N/A N/A N/A AssertionError k.K(X) should run on self.D-1 dimension N/A test_Matern52 N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern Matern52 N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_RBF N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern RBF N/A self D ARD True N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Linear N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern Linear N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_LinearFull N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern LinearFull N/A self D N/A N/A self D 1 N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Fixed N/A N/A self N/A N/A N/A Xall N/A N/A np concatenate N/A N/A self X N/A self X N/A cov N/A N/A np dot Xall N/A Xall T N/A X N/A N/A N/A N/A np arange N/A self N reshape 1 N/A self N N/A k N/A N/A N/A GPy kern Fixed 1 cov N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X X X2 None verbose verbose N/A test_Poly N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern Poly N/A self D order 5 N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_WhiteHeteroscedastic N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern WhiteHeteroscedastic N/A self D N/A N/A N/A self X shape N/A 0 N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_standard_periodic N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern StdPeriodic N/A self D N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X N/A self X X2 N/A self X2 verbose verbose N/A test_Precomputed N/A N/A self N/A N/A N/A Xall N/A N/A np concatenate N/A N/A self X N/A self X2 N/A cov N/A N/A np dot Xall N/A Xall T N/A X N/A N/A N/A N/A np arange N/A self N reshape 1 N/A self N N/A X2 N/A N/A N/A N/A np arange N/A self N N/A N/A 2 N/A self N 10 reshape 1 N/A N/A self N 10 N/A k N/A N/A N/A GPy kern Precomputed 1 cov N/A N/A N/A k randomize N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions k X X X2 X2 verbose verbose N/A N/A KernelTestsMiscellaneous N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N D N/A 100 10 N/A N/A self X N/A N/A N/A N/A np linspace N/A N/A np pi N/A N/A np pi N N/A N/A N/A None N/A N/A N/A np random uniform -10 10 D N/A N/A self rbf N/A N/A N/A GPy kern RBF 2 active_dims N/A N/A np arange 0 4 2 N/A N/A N/A N/A self rbf randomize N/A N/A self linear N/A N/A N/A GPy kern Linear 2 active_dims N/A 3 9 N/A N/A N/A N/A self linear randomize N/A N/A self matern N/A N/A N/A GPy kern Matern32 3 active_dims N/A N/A np array N/A 1 7 9 N/A N/A N/A N/A self matern randomize N/A N/A self sumkern N/A N/A self rbf N/A self linear N/A N/A self sumkern N/A self matern N/A test_which_parts N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A self sumkern K N/A self X which_parts N/A N/A self linear N/A self matern N/A N/A N/A N/A self linear K N/A self X N/A N/A N/A self matern K N/A self X N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A self sumkern K N/A self X which_parts N/A N/A self linear N/A self rbf N/A N/A N/A N/A self linear K N/A self X N/A N/A N/A self rbf K N/A self X N/A N/A N/A self assertTrue N/A N/A np allclose N/A N/A N/A self sumkern K N/A self X which_parts N/A N/A N/A self sumkern parts N/A 0 N/A N/A N/A self rbf K N/A self X N/A test_active_dims N/A N/A self N/A N/A N/A N/A N/A N/A np testing assert_array_equal N/A N/A self sumkern active_dims N/A 0 1 2 3 7 9 N/A N/A N/A N/A np testing assert_array_equal N/A N/A self sumkern _all_dims_active N/A range 10 N/A tmp N/A N/A self linear N/A self rbf N/A N/A N/A N/A np testing assert_array_equal N/A tmp active_dims N/A 0 2 3 9 N/A N/A N/A N/A np testing assert_array_equal N/A tmp _all_dims_active N/A range 10 N/A tmp N/A N/A self matern N/A self rbf N/A N/A N/A N/A np testing assert_array_equal N/A tmp active_dims N/A 0 1 2 7 9 N/A N/A N/A N/A np testing assert_array_equal N/A tmp _all_dims_active N/A range 10 N/A tmp N/A N/A self matern N/A N/A self rbf N/A self linear N/A N/A N/A N/A np testing assert_array_equal N/A tmp active_dims N/A 0 1 2 3 7 9 N/A N/A N/A N/A np testing assert_array_equal N/A tmp _all_dims_active N/A range 10 N/A tmp N/A N/A N/A self matern N/A self rbf N/A self linear N/A N/A N/A N/A np testing assert_array_equal N/A tmp active_dims N/A 0 1 2 3 7 9 N/A N/A N/A N/A np testing assert_array_equal N/A tmp _all_dims_active N/A range 10 N/A tmp N/A N/A N/A self matern N/A self rbf N/A self linear N/A N/A N/A N/A np testing assert_array_equal N/A tmp active_dims N/A 0 1 2 3 7 9 N/A N/A N/A N/A np testing assert_array_equal N/A tmp _all_dims_active N/A range 10 N/A N/A KernelTestsNonContinuous N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N0 3 N/A N1 9 N/A N2 4 N/A N N/A N/A N0 N1 N2 N/A N/A self D 3 N/A N/A self X N/A N/A N/A np random randn N N/A N/A self D 1 N/A indices N/A N/A N/A np random random_integers 0 2 size N N/A N/A N/A self X N/A N/A N/A indices 0 -1 0 N/A N/A N/A self X N/A N/A N/A indices 1 -1 1 N/A N/A N/A self X N/A N/A N/A indices 2 -1 2 N/A N/A self X2 N/A N/A N/A np random randn N/A N/A N0 N1 2 N/A N/A self D 1 N/A N/A N/A self X2 N/A N/A N/A N0 2 N/A -1 0 N/A N/A N/A self X2 N/A N/A N/A N0 2 N/A -1 1 N/A test_IndependentOutputs N/A N/A self N/A N/A N/A k N/A N/A N/A N/A GPy kern RBF 1 active_dims N/A 1 name rbf1 N/A N/A N/A GPy kern RBF N/A self D active_dims N/A range N/A self D name rbf012 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf02 N/A kern N/A N/A N/A GPy kern IndependentOutputs k -1 name ind_split N/A N/A N/A N/A np testing assert_array_equal N/A kern active_dims N/A -1 0 1 2 N/A N/A N/A N/A np testing assert_array_equal N/A kern _all_dims_active N/A 0 1 2 -1 N/A testIndependendGradients N/A N/A self N/A N/A N/A k N/A N/A N/A GPy kern RBF N/A self D active_dims N/A range N/A self D N/A kern N/A N/A N/A GPy kern IndependentOutputs k -1 ind_single N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions kern X N/A self X X2 N/A self X2 verbose verbose fixed_X_dims -1 N/A k N/A N/A N/A N/A GPy kern RBF 1 active_dims N/A 1 name rbf1 N/A N/A N/A GPy kern RBF N/A self D active_dims N/A range N/A self D name rbf012 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf02 N/A kern N/A N/A N/A GPy kern IndependentOutputs k -1 name ind_split N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions kern X N/A self X X2 N/A self X2 verbose verbose fixed_X_dims -1 N/A test_Hierarchical N/A N/A self N/A N/A N/A k N/A N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf1 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf2 N/A kern N/A N/A N/A GPy kern IndependentOutputs k -1 name ind_split N/A N/A N/A N/A np testing assert_array_equal N/A kern active_dims N/A -1 0 2 N/A N/A N/A N/A np testing assert_array_equal N/A kern _all_dims_active N/A 0 1 2 -1 N/A test_Hierarchical_gradients N/A N/A self N/A N/A N/A k N/A N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf1 N/A N/A N/A GPy kern RBF 2 active_dims N/A 0 2 name rbf2 N/A kern N/A N/A N/A GPy kern IndependentOutputs k -1 name ind_split N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions kern X N/A self X X2 N/A self X2 verbose verbose fixed_X_dims -1 N/A test_ODE_UY N/A N/A self N/A N/A N/A kern N/A N/A N/A GPy kern ODE_UY 2 active_dims N/A 0 N/A self D N/A X N/A N/A self X N/A N/A N/A N/A self X N/A N/A N/A -1 2 N/A X2 N/A N/A self X2 N/A N/A N/A N/A self X2 N/A N/A N/A -1 2 N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions kern X X X2 X2 verbose verbose fixed_X_dims -1 N/A test_Coregionalize N/A N/A self N/A N/A N/A kern N/A N/A N/A GPy kern Coregionalize 1 output_dim 3 active_dims N/A -1 N/A N/A N/A self assertTrue N/A check_kernel_gradient_functions kern X N/A self X X2 N/A self X2 verbose verbose fixed_X_dims -1 N/A N/A Coregionalize_cython_test N/A N/A unittest TestCase N/A N/A 
    Make sure that the coregionalize kernel work with and without cython enabled
     setUp N/A N/A self N/A N/A N/A N/A self k N/A N/A N/A GPy kern Coregionalize 1 output_dim 12 N/A N/A N/A self N1 N/A self N2 N/A 100 200 N/A N/A self X N/A N/A N/A np random randint 0 12 N/A N/A self N1 1 N/A N/A self X2 N/A N/A N/A np random randint 0 12 N/A N/A self N2 1 N/A test_sym N/A N/A self N/A N/A N/A dL_dK N/A N/A N/A np random randn N/A self N1 N/A self N1 N/A N/A N/A N/A N/A N/A GPy util config config set cython working True N/A K_cython N/A N/A N/A self k K N/A self X N/A N/A N/A N/A self k update_gradients_full dL_dK N/A self X N/A grads_cython N/A N/A N/A N/A self k gradient copy N/A N/A N/A N/A N/A N/A GPy util config config set cython working False N/A K_numpy N/A N/A N/A self k K N/A self X N/A N/A N/A N/A self k update_gradients_full dL_dK N/A self X N/A grads_numpy N/A N/A N/A N/A self k gradient copy N/A N/A N/A self assertTrue N/A N/A np allclose K_numpy K_cython N/A N/A N/A self assertTrue N/A N/A np allclose grads_numpy grads_cython N/A N/A N/A N/A N/A N/A GPy util config config set cython working true N/A test_nonsym N/A N/A self N/A N/A N/A dL_dK N/A N/A N/A np random randn N/A self N1 N/A self N2 N/A N/A N/A N/A N/A N/A GPy util config config set cython working True N/A K_cython N/A N/A N/A self k K N/A self X N/A self X2 N/A N/A N/A self k gradient 0.0 N/A N/A N/A N/A self k update_gradients_full dL_dK N/A self X N/A self X2 N/A grads_cython N/A N/A N/A N/A self k gradient copy N/A N/A N/A N/A N/A N/A GPy util config config set cython working False N/A K_numpy N/A N/A N/A self k K N/A self X N/A self X2 N/A N/A N/A self k gradient 0.0 N/A N/A N/A N/A self k update_gradients_full dL_dK N/A self X N/A self X2 N/A grads_numpy N/A N/A N/A N/A self k gradient copy N/A N/A N/A self assertTrue N/A N/A np allclose K_numpy K_cython N/A N/A N/A self assertTrue N/A N/A np allclose grads_numpy grads_cython N/A N/A N/A N/A N/A N/A GPy util config config set cython working true N/A N/A N/A N/A unittest skipIf N/A N/A N/A config getboolean cython working Cython modules have not been built on this machine KernelTestsProductWithZeroValues N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self X N/A N/A np array N/A N/A 0 1 N/A 1 0 N/A N/A self k N/A N/A N/A N/A GPy kern Linear 2 N/A N/A N/A GPy kern Bias 2 N/A test_zero_valued_kernel_full N/A N/A self N/A N/A N/A N/A N/A N/A self k update_gradients_full 1 N/A self X N/A N/A N/A self assertFalse N/A N/A np isnan N/A N/A N/A self k N/A linear.variances gradient Gradient resulted in NaN N/A test_zero_valued_kernel_gradients_X N/A N/A self N/A N/A N/A target N/A N/A N/A self k gradients_X 1 N/A self X N/A N/A N/A self assertFalse N/A N/A np any N/A N/A np isnan target Gradient resulted in NaN N/A N/A Kernel_Psi_statistics_GradientTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A GPy.core.parameterization.variational NormalPosterior N/A N/A N M Q N/A 100 20 3 N/A X N/A N/A N/A np random randn N Q N/A X_var N/A N/A N/A N/A np random rand N Q 0.01 N/A N/A self Z N/A N/A N/A np random randn M Q N/A N/A self qX N/A NormalPosterior X X_var N/A N/A self w1 N/A N/A N/A np random randn N N/A N/A self w2 N/A N/A N/A np random randn N M N/A N/A self w3 N/A N/A N/A np random randn M M N/A N/A self w3 N/A self w3 N/A N/A self w3n N/A N/A N/A np random randn N M M N/A N/A self w3n N/A N/A self w3n N/A N/A np swapaxes N/A self w3n 1 2 N/A test_kernels N/A N/A self N/A N/A GPy.kern RBF Linear MLP Bias White N/A Q N/A N/A N/A self Z shape N/A 1 N/A kernels N/A N/A RBF Q ARD True N/A Linear Q ARD True N/A MLP Q ARD True N/A N/A N/A N/A RBF Q ARD True N/A Linear Q ARD True N/A Bias Q N/A White Q N/A N/A N/A RBF Q ARD True N/A Bias Q N/A White Q N/A N/A N/A Linear Q ARD True N/A Bias Q N/A White Q N/A k kernels N/A N/A N/A N/A k randomize N/A N/A N/A self _test_kernel_param k N/A N/A N/A self _test_Z k N/A N/A N/A self _test_qX k N/A N/A N/A self _test_kernel_param k psi2n True N/A N/A N/A self _test_Z k psi2n True N/A N/A N/A self _test_qX k psi2n True N/A _test_kernel_param N/A N/A self kernel psi2n N/A False N/A f N/A N/A p N/A N/A N/A N/A N/A kernel param_array N/A p N/A psi0 N/A N/A kernel psi0 N/A self Z N/A self qX N/A psi1 N/A N/A kernel psi1 N/A self Z N/A self qX N/A N/A psi2n N/A N/A psi2 N/A N/A kernel psi2 N/A self Z N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3 psi2 sum N/A N/A psi2 N/A N/A kernel psi2n N/A self Z N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3n psi2 sum N/A df N/A N/A p N/A N/A N/A N/A N/A kernel param_array N/A p N/A N/A N/A kernel update_gradients_expectations N/A self w1 N/A self w2 N/A N/A psi2n N/A self w3 N/A self w3n N/A self Z N/A self qX N/A N/A N/A N/A kernel gradient copy N/A GPy.models GradientChecker N/A m N/A GradientChecker f df N/A N/A N/A kernel param_array copy N/A N/A N/A m checkgrad verbose 1 N/A N/A N/A self assertTrue N/A N/A m checkgrad N/A _test_Z N/A N/A self kernel psi2n N/A False N/A f N/A N/A p N/A N/A N/A psi0 N/A N/A kernel psi0 p N/A self qX N/A psi1 N/A N/A kernel psi1 p N/A self qX N/A psi2 N/A N/A kernel psi2 p N/A self qX N/A N/A psi2n N/A N/A psi2 N/A N/A kernel psi2 p N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3 psi2 sum N/A N/A psi2 N/A N/A kernel psi2n p N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3n psi2 sum N/A df N/A N/A p N/A N/A N/A N/A N/A kernel gradients_Z_expectations N/A self w1 N/A self w2 N/A N/A psi2n N/A self w3 N/A self w3n p N/A self qX N/A GPy.models GradientChecker N/A m N/A GradientChecker f df N/A N/A N/A self Z copy N/A N/A N/A self assertTrue N/A N/A m checkgrad N/A _test_qX N/A N/A self kernel psi2n N/A False N/A f N/A N/A p N/A N/A N/A N/A N/A N/A self qX param_array N/A p N/A N/A N/A N/A self qX _trigger_params_changed N/A psi0 N/A N/A kernel psi0 N/A self Z N/A self qX N/A psi1 N/A N/A kernel psi1 N/A self Z N/A self qX N/A N/A psi2n N/A N/A psi2 N/A N/A kernel psi2 N/A self Z N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3 psi2 sum N/A N/A psi2 N/A N/A kernel psi2n N/A self Z N/A self qX N/A N/A N/A N/A N/A N/A N/A self w1 psi0 sum N/A N/A N/A N/A self w2 psi1 sum N/A N/A N/A N/A self w3n psi2 sum N/A df N/A N/A p N/A N/A N/A N/A N/A N/A self qX param_array N/A p N/A N/A N/A N/A self qX _trigger_params_changed N/A grad N/A N/A kernel gradients_qX_expectations N/A self w1 N/A self w2 N/A N/A psi2n N/A self w3 N/A self w3n N/A self Z N/A self qX N/A N/A N/A N/A self qX set_gradients grad N/A N/A N/A N/A N/A self qX gradient copy N/A GPy.models GradientChecker N/A m N/A GradientChecker f df N/A N/A N/A N/A self qX param_array copy N/A N/A N/A self assertTrue N/A N/A m checkgrad N/A N/A N/A N/A __name__ __main__ N/A N/A Running unit tests, please be (very) patient... N/A N/A N/A unittest main