Module Expr Str ImportFrom alias Import alias identifier ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore UnaryOpUSub AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num Num Num Num Num Num body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr CompareNotEq NameLoad Num Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareLtE BinOpPow Num NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body For NameStore Call NameLoad NameLoad Num Num body If CompareEq Call NameLoad NameLoad Num body Break Assign NameStore ListComp TupleLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad NameLoad CompareIn Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num keyword NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq Call NameLoad NameLoad Num body Break If Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr orelse For NameStore Call NameLoad NameLoad keyword Num body If CompareEq Call NameLoad NameLoad Num body Break If Call AttributeLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr orelse For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq Call NameLoad NameLoad Num body Break If Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad Num body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num If CompareLt Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareGtE NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpSub AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad NameLoad attr TupleLoad Num Num orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad ListLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv Num BinOpMult Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index NameLoad Slice SubscriptLoad NameLoad ExtSlice Index NameLoad Slice If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad orelse AugAssignAdd NameStore BinOpMult NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index CompareNotEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad Assign NameStore Num For NameStore Call NameLoad Call NameLoad NameLoad body If CompareGtE NameLoad NameLoad body Break Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad BinOpSub AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Assign NameStore NameLoad orelse Break Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Print BinOpMult Str Num Print Str Print BinOpMult Str Num For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Print Str Print BinOpMult Str Num Print Str Print BinOpMult Str Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Print Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Print Str Return Print BinOpMult Str Num Print Str Print BinOpMult Str Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str TupleLoad Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Print BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad Call NameLoad Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse Print BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assert CompareIsNot NameLoad NameLoad Assign NameStore CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Return BinOpDiv Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return BinOpDiv AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If CompareGt NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult NameLoad BinOpAdd BinOpMult BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpPow NameLoad Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad keyword AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AugAssignAdd AttributeStore NameLoad attr BinOpMult BinOpMult BinOpMult AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult BinOpMult BinOpMult AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If CompareGt NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num orelse AugAssignMult AttributeStore NameLoad attr BinOpMult BinOpMult NameLoad BinOpPow BinOpMult NameLoad NameLoad BinOpSub BinOpSub NameLoad Num SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult NameLoad BinOpAdd BinOpMult BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpPow NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad Str Str Str Str Str Str Str Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body Return Num orelse If CompareGt Call NameLoad NameLoad Call NameLoad NameLoad body Return Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Return Num If CompareGt SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Return UnaryOpUAdd Num Return Num decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num Num Num Num NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Print Str Print BinOpMult Str Num Print Str Print BinOpMult Str Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Num Assign NameStore CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr BinOpMult SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareGtE Call AttributeLoad NameLoad attr keyword NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad AugAssignAdd NameStore Num Return NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad Num body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad Num body AugAssignAdd AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpMult BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpPow BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr BinOpMult BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpPow BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareGtE NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Num decorator_list decorator_list
N/A N/A Incremental Feature Dependency Discovery copy deepcopy N/A numpy np rlpy.Tools printClass PriorityQueueWithNovelty rlpy.Tools powerset combinations addNewElementForAllActions rlpy.Tools plt Representation Representation N/A warnings collections defaultdict N/A __copyright__ Copyright 2013, RLPy http://acl.mit.edu/RLPy N/A __credits__ N/A Alborz Geramifard Robert H. Klein Christoph Dann William Dabney Jonathan P. How N/A __license__ BSD 3-Clause N/A __author__ Alborz Geramifard iFDD_feature N/A object N/A N/A  This object represents a feature used for linear function approximation.
        The feature can be an initial feature or made using the conjunction of existing features.
        index: is the location of the feature in the feature vector
        f_set: set of features that their conjunction creates this feature.
        p1, p2: parents of the current feature. Notice that multiple combinations of parents may
                lead to the same feature. For example given 3 basic features of X, Y, and Z
                P1=XY and P2=XZ and P1=X and P2=XZ both lead to the new features XYZ.
                Both these parameters are used for visualizations only.
     N/A index None N/A f_set None N/A p1 None N/A p2 None __init__ N/A N/A self potential N/A N/A N/A N/A isinstance potential iFDD_potential N/A N/A N/A self index N/A potential index N/A N/A self f_set N/A deepcopy N/A potential f_set N/A N/A self p1 N/A potential p1 N/A N/A self p2 N/A potential p2 N/A N/A index potential N/A N/A self index index N/A N/A self f_set N/A frozenset N/A index N/A N/A self p1 -1 N/A N/A self p2 -1 N/A __deepcopy__ N/A N/A self memo N/A N/A N/A new_f N/A iFDD_feature N/A self index N/A N/A new_f p1 N/A self p1 N/A N/A new_f p2 N/A self p2 N/A N/A new_f f_set N/A deepcopy N/A self f_set N/A new_f N/A show N/A N/A self N/A N/A N/A N/A printClass self N/A N/A iFDD_potential N/A object N/A N/A  This object represents a potential feature that can be promoted to a permanent feature.
        The structure of this object is very similar to iFDD feature object, except it has a relevance parameter
        that measures the importance of creating a new feature out of this potential feature.
     N/A relevance None N/A f_set None N/A index None N/A p1 None N/A p2 None N/A count None __init__ N/A N/A self f_set parent1 parent2 N/A N/A N/A N/A self f_set N/A deepcopy f_set N/A N/A self index -1 N/A N/A self p1 parent1 N/A N/A self p2 parent2 N/A N/A self cumtderr 0 N/A N/A self cumabstderr 0 N/A N/A self count 1 N/A __deepcopy__ N/A N/A self memo N/A N/A N/A new_p N/A iFDD_potential N/A self f_set N/A self p1 N/A self p2 N/A N/A new_p cumtderr N/A self cumtderr N/A N/A new_p cumabstderr N/A self cumabstderr N/A new_p N/A show N/A N/A self N/A N/A N/A N/A printClass self N/A N/A iFDD N/A Representation N/A N/A  The incremental Feature Dependency Discovery Representation based on
    [Geramifard et al. 2011 ICML paper]. This representation starts with a set of given
    binary features and adds new features as the conjunction of existing features. Given n features
    iFDD can expand the set of features up to 2^n-1 features (i.e. conjunction of each subset of n
    features can be considered as a new feature.
     N/A PRINT_MAX_RELEVANCE False N/A discovery_threshold None N/A sparsify None N/A iFDD_features None N/A iFDD_potentials None N/A featureIndex2feature None N/A debug 0 N/A cache None N/A useCache 0 N/A maxBatchDiscovery 0 N/A batchThreshold 0 N/A iFDDPlus 0 N/A sortediFDDFeatures None N/A initial_representation None N/A maxRelevance N/A N/A np inf N/A use_chirstoph_ordered_features True __init__ N/A N/A self domain discovery_threshold initial_representation sparsify discretization debug useCache maxBatchDiscovery batchThreshold iFDDPlus seed N/A True 20 0 0 1 0 1 1 N/A N/A N/A self iFDD_features N/A N/A N/A self iFDD_potentials N/A N/A N/A self featureIndex2feature N/A N/A N/A self cache N/A N/A N/A self discovery_threshold discovery_threshold N/A N/A self sparsify sparsify N/A N/A N/A self setBinsPerDimension domain discretization N/A N/A self features_num N/A initial_representation features_num N/A N/A self debug debug N/A N/A self useCache useCache N/A N/A self maxBatchDiscovery maxBatchDiscovery N/A N/A self batchThreshold batchThreshold N/A N/A self sortediFDDFeatures N/A PriorityQueueWithNovelty N/A N/A self initial_representation initial_representation N/A N/A self iFDDPlus iFDDPlus N/A N/A self isDynamic True N/A N/A N/A self addInitialFeatures N/A N/A N/A N/A super iFDD self __init__ domain discretization seed N/A phi_nonTerminal N/A N/A self s N/A N/A N/A  Based on Tuna's Master Thesis 2012  N/A F_s N/A N/A np zeros N/A self features_num bool N/A F_s_0 N/A N/A N/A self initial_representation phi_nonTerminal s N/A activeIndices N/A N/A N/A np where N/A F_s_0 0 N/A 0 N/A N/A self useCache N/A N/A finalActiveIndices N/A N/A N/A self cache get N/A frozenset activeIndices N/A N/A finalActiveIndices None N/A N/A finalActiveIndices N/A N/A self findFinalActiveFeatures activeIndices N/A N/A finalActiveIndices N/A N/A self findFinalActiveFeatures activeIndices N/A N/A F_s N/A finalActiveIndices 1 N/A F_s N/A findFinalActiveFeatures N/A N/A self intialActiveFeatures N/A N/A N/A 
        Given the active indices of phi_0(s) find the final active indices of phi(s) based on discovered features
         N/A finalActiveFeatures N/A N/A k N/A len intialActiveFeatures N/A initialSet N/A set intialActiveFeatures N/A N/A N/A 2 k N/A self features_num N/A N/A N/A self use_chirstoph_ordered_features N/A N/A i N/A range k 0 -1 N/A N/A N/A N/A len initialSet 0 N/A N/A N/A cand_i N/A N/A c N/A N/A N/A self iFDD_features N/A N/A frozenset c index N/A c N/A combinations initialSet i N/A N/A frozenset c N/A self iFDD_features N/A N/A N/A cand_i sort key N/A N/A N/A x N/A N/A x N/A 1 reverse True N/A N/A candidate ind cand_i N/A N/A N/A N/A len initialSet 0 N/A N/A N/A N/A N/A initialSet issuperset N/A set candidate N/A N/A feature N/A N/A N/A self iFDD_features get N/A frozenset candidate N/A N/A feature None N/A N/A N/A N/A finalActiveFeatures append N/A feature index N/A N/A self sparsify N/A N/A initialSet N/A initialSet N/A feature f_set N/A N/A candidate N/A powerset initialSet ascending 0 N/A N/A N/A N/A len initialSet 0 N/A N/A N/A N/A N/A initialSet issuperset N/A set candidate N/A N/A feature N/A N/A N/A self iFDD_features get N/A frozenset candidate N/A N/A feature None N/A N/A N/A N/A finalActiveFeatures append N/A feature index N/A N/A self sparsify N/A N/A initialSet N/A initialSet N/A feature f_set N/A N/A feature N/A N/A N/A self sortediFDDFeatures toList N/A N/A N/A N/A len initialSet 0 N/A N/A N/A N/A N/A initialSet issuperset N/A set N/A feature f_set N/A N/A N/A N/A finalActiveFeatures append N/A feature index N/A N/A self sparsify N/A N/A initialSet N/A initialSet N/A feature f_set N/A N/A self useCache N/A N/A N/A N/A self cache N/A N/A frozenset intialActiveFeatures finalActiveFeatures N/A finalActiveFeatures N/A post_discover N/A N/A self s terminal a td_error phi_s N/A N/A N/A 
        returns the number of added features
         N/A activeFeatures N/A N/A N/A phi_s nonzero N/A 0 N/A discovered 0 N/A N/A g_index h_index N/A combinations activeFeatures 2 N/A N/A discovered N/A N/A self inspectPair g_index h_index td_error N/A discovered N/A inspectPair N/A N/A self g_index h_index td_error N/A N/A N/A g N/A N/A N/A self featureIndex2feature N/A g_index f_set N/A h N/A N/A N/A self featureIndex2feature N/A h_index f_set N/A f N/A N/A g union h N/A feature N/A N/A N/A self iFDD_features get f N/A N/A N/A self iFDDPlus N/A N/A td_error N/A abs td_error N/A N/A feature None N/A N/A False N/A potential N/A N/A N/A self iFDD_potentials get f N/A N/A potential None N/A N/A potential N/A iFDD_potential f g_index h_index N/A N/A N/A self iFDD_potentials N/A f potential N/A N/A potential cumtderr td_error N/A N/A potential cumabstderr N/A abs td_error N/A N/A potential count 1 N/A N/A N/A N/A N/A self random_state rand N/A self iFDDPlus N/A N/A relevance N/A N/A abs N/A potential cumtderr N/A N/A np sqrt N/A potential count N/A N/A relevance N/A potential cumabstderr N/A N/A relevance N/A self discovery_threshold N/A N/A N/A self maxRelevance N/A N/A np inf N/A N/A N/A self addFeature potential N/A True N/A N/A N/A N/A self updateMaxRelevance relevance N/A False N/A show N/A N/A self N/A N/A N/A N/A N/A self showFeatures N/A N/A N/A self showPotentials N/A N/A N/A self showCache N/A updateWeight N/A N/A self p1_index p2_index N/A N/A N/A a N/A N/A self domain actions_num N/A f N/A N/A self features_num 1 N/A N/A self sparsify N/A N/A newElem N/A N/A N/A N/A N/A self weight_vec N/A p1_index f N/A N/A self weight_vec N/A p2_index f reshape N/A -1 1 N/A N/A newElem None N/A N/A self weight_vec N/A addNewElementForAllActions N/A self weight_vec a newElem N/A N/A self hashed_s None N/A addInitialFeatures N/A N/A self N/A N/A N/A i N/A xrange N/A N/A self initial_representation features_num N/A N/A feature N/A iFDD_feature i N/A N/A N/A self iFDD_features N/A N/A frozenset N/A i feature N/A N/A N/A self featureIndex2feature N/A N/A feature index feature N/A priority 1 N/A N/A N/A N/A self sortediFDDFeatures push priority feature N/A addFeature N/A N/A self potential N/A N/A N/A N/A potential index N/A self features_num N/A N/A self features_num 1 N/A feature N/A iFDD_feature potential N/A N/A N/A self iFDD_features N/A N/A potential f_set feature N/A N/A N/A self updateWeight N/A feature p1 N/A feature p2 N/A N/A N/A self featureIndex2feature N/A N/A feature index feature N/A priority N/A 1 N/A N/A len N/A potential f_set 1.0 N/A N/A N/A N/A self sortediFDDFeatures push priority feature N/A N/A self useCache N/A N/A initialActiveFeatures N/A N/A N/A self cache keys N/A N/A N/A N/A initialActiveFeatures issuperset N/A feature f_set N/A N/A N/A self sparsify N/A N/A N/A N/A N/A self cache pop initialActiveFeatures N/A N/A N/A N/A N/A N/A self cache N/A initialActiveFeatures append N/A feature index N/A N/A self debug N/A N/A N/A N/A self show N/A batchDiscover N/A N/A self td_errors phi states N/A N/A N/A SHOW_PLOT 0 N/A maxDiscovery N/A self maxBatchDiscovery N/A n N/A self features_num N/A p N/A len td_errors N/A counts N/A N/A np zeros N/A n n N/A relevances N/A N/A np zeros N/A n n N/A i N/A xrange p N/A N/A phiphiT N/A N/A np outer N/A phi N/A N/A i N/A N/A phi N/A N/A i N/A N/A N/A self iFDDPlus N/A N/A relevances N/A phiphiT N/A td_errors N/A i N/A N/A relevances N/A phiphiT N/A abs N/A td_errors N/A i N/A counts phiphiT N/A relevances N/A N/A np triu relevances 1 N/A non_zero_index N/A N/A np nonzero relevances N/A N/A self iFDDPlus N/A N/A N/A relevances N/A non_zero_index N/A N/A np divide N/A N/A np abs N/A relevances N/A non_zero_index N/A N/A np sqrt N/A counts N/A non_zero_index N/A N/A N/A relevances N/A non_zero_index N/A relevances N/A non_zero_index N/A N/A F1 F2 N/A N/A relevances nonzero N/A relevances N/A relevances N/A N/A F1 F2 N/A N/A N/A len relevances 0 N/A N/A N/A N/A N/A self logger debug iFDD Batch: Max Relevance = 0 N/A False N/A SHOW_PLOT N/A N/A e_vec N/A N/A relevances flatten N/A e_vec N/A e_vec N/A N/A e_vec 0 N/A e_vec N/A N/A np sort e_vec N/A N/A N/A plt ioff N/A N/A N/A plt plot e_vec linewidth 3 N/A N/A N/A plt show N/A sortedIndices N/A N/A N/A np argsort relevances N/A -1 N/A max_relevance N/A relevances N/A N/A sortedIndices N/A 0 N/A N/A N/A N/A self logger debug N/A N/A iFDD Batch: Max Relevance = {0:g} format max_relevance N/A added_feature False N/A new_features 0 N/A j N/A xrange N/A len relevances N/A N/A N/A new_features maxDiscovery N/A N/A N/A max_index N/A sortedIndices N/A j N/A f1 N/A F1 N/A max_index N/A f2 N/A F2 N/A max_index N/A relevance N/A relevances N/A max_index N/A N/A relevance N/A self batchThreshold N/A N/A N/A N/A self inspectPair f1 f2 N/A np inf N/A N/A N/A N/A N/A self logger debug N/A New Feature %d: %s, Relevance = %0.3f N/A N/A N/A self features_num 1 N/A N/A self getStrFeatureSet N/A N/A self features_num 1 N/A relevances N/A max_index N/A new_features 1 N/A added_feature True N/A N/A N/A added_feature N/A showFeatures N/A N/A self N/A N/A N/A Features: N/A N/A - 30 N/A  index	| f_set	| p1	| p2	 | Weights (per action) N/A N/A - 30 N/A feature N/A reversed N/A N/A N/A self sortediFDDFeatures toList N/A N/A N/A  %d	| %s	| %s	| %s	| Omitted N/A N/A feature index N/A N/A self getStrFeatureSet N/A feature index N/A feature p1 N/A feature p2 N/A showPotentials N/A N/A self N/A N/A N/A Potentials: N/A N/A - 30 N/A  index	| f_set	| relevance	| count	| p1	| p2 N/A N/A - 30 N/A N/A _ potential N/A N/A N/A self iFDD_potentials iteritems N/A N/A N/A  %d	| %s	| %0.2f	| %d	| %s	| %s N/A N/A potential index N/A str N/A N/A np sort N/A list N/A potential f_set N/A potential relevance N/A potential count N/A potential p1 N/A potential p2 N/A showCache N/A N/A self N/A N/A N/A N/A self useCache N/A N/A Cache: N/A N/A N/A len N/A self cache 0 N/A N/A EMPTY! N/A N/A N/A - 30 N/A  initial	| Final N/A N/A - 30 N/A N/A initial active N/A N/A N/A self cache iteritems N/A N/A N/A  %s	| %s N/A N/A str N/A list initial active N/A updateMaxRelevance N/A N/A self newRelevance N/A N/A N/A N/A N/A self maxRelevance newRelevance N/A N/A N/A self maxRelevance newRelevance N/A N/A self PRINT_MAX_RELEVANCE N/A N/A N/A N/A N/A self logger debug N/A N/A iFDD Batch: Max Relevance = {0:g} format newRelevance N/A getFeature N/A N/A self f_id N/A N/A N/A N/A f_id N/A N/A N/A self featureIndex2feature keys N/A N/A N/A N/A self featureIndex2feature N/A f_id N/A N/A N/A F_id %d is not valid f_id N/A None N/A getStrFeatureSet N/A N/A self f_id N/A N/A N/A N/A f_id N/A N/A N/A self featureIndex2feature keys N/A N/A N/A str N/A sorted N/A list N/A N/A N/A self featureIndex2feature N/A f_id f_set N/A N/A N/A F_id %d is not valid f_id N/A None N/A featureType N/A N/A self N/A N/A N/A bool N/A __deepcopy__ N/A N/A self memo N/A N/A N/A ifdd N/A iFDD N/A self domain N/A self discovery_threshold N/A self initial_representation N/A self sparsify N/A self discretization N/A self debug N/A self useCache N/A self maxBatchDiscovery N/A self batchThreshold N/A self iFDDPlus N/A N/A s f N/A N/A N/A self iFDD_features items N/A N/A new_f N/A deepcopy f N/A new_s N/A deepcopy s N/A N/A N/A ifdd iFDD_features N/A new_s new_f N/A N/A N/A ifdd featureIndex2feature N/A N/A new_f index new_f N/A N/A s p N/A N/A N/A self iFDD_potentials items N/A N/A new_s N/A deepcopy s N/A new_p N/A deepcopy p N/A N/A N/A ifdd iFDD_potentials N/A new_s N/A deepcopy new_p N/A N/A ifdd cache N/A deepcopy N/A self cache N/A N/A ifdd sortediFDDFeatures N/A deepcopy N/A self sortediFDDFeatures N/A N/A ifdd features_num N/A self features_num N/A N/A ifdd weight_vec N/A deepcopy N/A self weight_vec N/A ifdd N/A N/A iFDDK_potential N/A iFDD_potential N/A N/A f_set None N/A index None N/A p1 None N/A p2 None N/A a None N/A b None N/A c 0.0 N/A n_crho 0 N/A e None N/A nu 0.0 N/A x_a 0.0 N/A x_b 0.0 N/A l 0 __init__ N/A N/A self f_set parent1 parent2 N/A N/A N/A N/A self f_set N/A deepcopy f_set N/A N/A self index -1 N/A N/A self p1 parent1 N/A N/A self p2 parent2 N/A N/A N/A N/A self hp_dtype N/A N/A np dtype float128 N/A N/A N/A TypeError N/A N/A N/A self hp_dtype N/A N/A np dtype float64 N/A N/A self a N/A N/A np array 0.0 dtype N/A self hp_dtype N/A N/A self b N/A N/A np array 0.0 dtype N/A self hp_dtype N/A N/A self e N/A N/A np array 0.0 dtype N/A self hp_dtype N/A relevance N/A N/A self kappa plus N/A None None N/A N/A N/A plus None N/A N/A N/A kappa None N/A plus N/A N/A N/A N/A self random_state rand kappa N/A plus N/A N/A N/A N/A N/A np abs N/A self b N/A N/A np sqrt N/A self c N/A N/A N/A N/A self a N/A N/A np sqrt N/A self c N/A update_statistics N/A N/A self rho td_error lambda_ discount_factor phi n_rho N/A N/A N/A N/A n_rho N/A self n_crho N/A N/A N/A self e 0 N/A N/A self e N/A rho N/A N/A N/A lambda_ discount_factor N/A self e phi N/A N/A self a N/A N/A N/A np abs td_error N/A self e N/A N/A self b N/A td_error N/A self e N/A N/A self c N/A phi 2 N/A N/A self n_crho n_rho N/A update_lazy_statistics N/A N/A self rho td_error lambda_ discount_factor phi y_a y_b t_rho w t n_rho N/A N/A N/A N/A lambda_ 0 N/A N/A gl N/A N/A np power N/A N/A np array N/A discount_factor lambda_ dtype N/A self hp_dtype N/A N/A t_rho N/A n_rho N/A self l N/A N/A sa sb N/A N/A N/A N/A self a copy N/A N/A N/A self b copy N/A N/A self a N/A N/A N/A N/A self e N/A N/A y_a N/A N/A self n_crho N/A self x_a N/A N/A np exp N/A N/A self nu gl N/A N/A self b N/A N/A N/A N/A self e N/A N/A y_b N/A N/A self n_crho N/A self x_b N/A N/A np exp N/A N/A self nu gl N/A N/A N/A N/A np isfinite N/A self a N/A N/A N/A self a sa N/A N/A N/A warnings warn Overflow in potential relevance estimate N/A N/A N/A N/A np isfinite N/A self b N/A N/A N/A self b sb N/A N/A N/A warnings warn Overflow in potential relevance estimate N/A N/A n_rho N/A self n_crho N/A N/A N/A self e 0 N/A N/A N/A self e N/A N/A gl N/A N/A lambda_ discount_factor N/A N/A t 1 N/A t_rho N/A n_rho N/A N/A np exp N/A w N/A self nu N/A N/A self e N/A rho N/A N/A N/A lambda_ discount_factor N/A self e phi N/A N/A self a N/A N/A N/A np abs td_error N/A self e N/A N/A self b N/A td_error N/A self e N/A N/A self c N/A phi 2 N/A N/A self l t N/A N/A self x_a N/A N/A N/A y_a N/A n_rho copy N/A N/A self x_b N/A N/A N/A y_b N/A n_rho copy N/A N/A self nu w N/A N/A self n_crho n_rho N/A __deepcopy__ N/A N/A self memo N/A N/A N/A new_p N/A iFDD_potential N/A self f_set N/A self p1 N/A self p2 N/A i N/A a b c n_crho e nu x_a x_b l N/A N/A N/A N/A new_p __dict__ N/A i N/A N/A self __dict__ N/A i N/A new_p N/A N/A _set_comp_lt N/A N/A a b N/A N/A N/A N/A N/A len a N/A len b N/A N/A -1 N/A N/A N/A N/A len a N/A len b N/A N/A 1 N/A l1 N/A list a N/A l2 N/A list b N/A N/A N/A l1 sort N/A N/A N/A l2 sort N/A i N/A xrange N/A len l1 N/A N/A N/A N/A l1 N/A i N/A l2 N/A i N/A N/A -1 N/A N/A N/A l1 N/A i N/A l2 N/A i N/A N/A N/A 1 N/A 0 N/A iFDDK N/A iFDD N/A N/A iFDD(kappa) algorithm with support for elibility traces
    The iFDD(kappa) algorithm is a stochastic mixture of iFDD and iFDD+
    to retain the best properties of both algorithms. N/A w 0 N/A n_rho 0 N/A t 0 N/A t_rho N/A defaultdict int __init__ N/A N/A self domain discovery_threshold initial_representation sparsify discretization debug useCache kappa lambda_ lazy N/A True 20 0 0 1e-05 0.0 False N/A N/A N/A N/A N/A self hp_dtype N/A N/A np dtype float128 N/A N/A N/A TypeError N/A N/A N/A self hp_dtype N/A N/A np dtype float64 N/A N/A self y_a N/A defaultdict N/A N/A N/A N/A N/A N/A np array 0.0 dtype N/A self hp_dtype N/A N/A self y_b N/A defaultdict N/A N/A N/A N/A N/A N/A np array 0.0 dtype N/A self hp_dtype N/A N/A self lambda_ lambda_ N/A N/A self kappa kappa N/A N/A self discount_factor N/A domain discount_factor N/A N/A self lazy lazy N/A N/A N/A N/A super iFDDK self __init__ domain discovery_threshold initial_representation sparsify sparsify discretization discretization debug debug useCache useCache N/A episodeTerminated N/A N/A self N/A N/A N/A N/A self n_rho 1 N/A N/A self w 0 N/A N/A N/A self t_rho N/A N/A self n_rho N/A self t N/A showPotentials N/A N/A self N/A N/A N/A Potentials: N/A N/A - 30 N/A  index	| f_set	| relevance	| count	| p1	| p2 N/A N/A - 30 N/A k N/A sorted N/A N/A N/A self iFDD_potentials iterkeys cmp _set_comp_lt N/A f_set k N/A N/A potential N/A N/A self iFDD_potentials N/A f_set N/A N/A  %d	| %s	| %g	| %d	| %s	| %s N/A N/A potential index N/A str N/A N/A np sort N/A list N/A potential f_set N/A N/A potential relevance plus True N/A potential c N/A potential p1 N/A potential p2 N/A post_discover N/A N/A self s terminal a td_error phi_s rho N/A 1 N/A N/A 
        returns the number of added features
         N/A N/A self t 1 N/A discovered 0 N/A plus N/A N/A N/A N/A self random_state rand N/A self kappa N/A activeFeatures N/A N/A N/A phi_s nonzero N/A 0 N/A N/A N/A self lazy N/A N/A dd N/A defaultdict float N/A N/A g_index h_index N/A combinations activeFeatures 2 N/A N/A N/A dd N/A N/A N/A N/A self get_potential g_index h_index f_set N/A N/A phi_s N/A g_index N/A phi_s N/A h_index N/A N/A f potential N/A N/A N/A self iFDD_potentials items N/A N/A N/A N/A potential update_statistics rho td_error N/A self lambda_ N/A self discount_factor N/A dd N/A f N/A self n_rho N/A N/A N/A N/A potential relevance plus plus N/A self discovery_threshold N/A N/A N/A N/A self addFeature potential N/A N/A N/A self iFDD_potentials N/A f N/A discovered 1 N/A discovered N/A N/A g_index h_index N/A combinations activeFeatures 2 N/A N/A discovered N/A N/A self inspectPair g_index h_index td_error phi_s rho plus N/A N/A rho 0 N/A N/A N/A self w N/A N/A np log rho N/A N/A N/A self n_rho 1 N/A N/A self w 0 N/A N/A N/A self t_rho N/A N/A self n_rho N/A self t N/A N/A N/A self lambda_ 0 N/A N/A N/A N/A self y_a N/A N/A self n_rho N/A N/A N/A N/A np exp N/A self w N/A N/A N/A self discount_factor N/A self lambda_ N/A N/A self t N/A N/A self t_rho N/A N/A self n_rho N/A N/A np abs td_error N/A N/A N/A self y_b N/A N/A self n_rho N/A N/A N/A N/A np exp N/A self w N/A N/A N/A self discount_factor N/A self lambda_ N/A N/A self t N/A N/A self t_rho N/A N/A self n_rho td_error N/A N/A N/A np isfinite N/A N/A self y_a N/A N/A self n_rho N/A N/A N/A np isfinite N/A N/A self y_b N/A N/A self n_rho N/A discovered N/A get_potential N/A N/A self g_index h_index N/A N/A N/A g N/A N/A N/A self featureIndex2feature N/A g_index f_set N/A h N/A N/A N/A self featureIndex2feature N/A h_index f_set N/A f N/A N/A g union h N/A feature N/A N/A N/A self iFDD_features get f N/A N/A feature None N/A N/A None N/A potential N/A N/A N/A self iFDD_potentials get f N/A N/A potential None N/A N/A potential N/A iFDDK_potential f g_index h_index N/A N/A N/A self iFDD_potentials N/A f potential N/A potential N/A inspectPair N/A N/A self g_index h_index td_error phi_s rho plus N/A N/A N/A potential N/A N/A self get_potential g_index h_index N/A phi N/A N/A phi_s N/A g_index N/A phi_s N/A h_index N/A N/A N/A potential update_lazy_statistics rho td_error N/A self lambda_ N/A self discount_factor phi N/A self y_a N/A self y_b N/A self t_rho N/A self w N/A self t N/A self n_rho N/A relevance N/A N/A potential relevance plus plus N/A N/A relevance N/A self discovery_threshold N/A N/A N/A self maxRelevance N/A N/A np inf N/A N/A N/A self addFeature potential N/A N/A N/A self iFDD_potentials N/A N/A potential f_set N/A 1 N/A N/A N/A N/A self updateMaxRelevance relevance N/A 0 N/A N/A